SetFaxOutputMode

 

Sets the fax output mode and resolution. Fax output can be enabled using the EnableFaxOutput function.

 

SetFaxOutputMode (pDevMode As Long, FaxMode As Long) As Boolean

 

Input value:pDevMode        - handle to the BlackIceDEVMODE structure.

Input value:Position             - Selected output mode/resolution.

 

The available values are the following:

 

FAXMODE_HIGH:                                       0 (204x196 DPI)

FAXMODE_HIGH_COMPATIBLE:           1 (204x196 DPI compatibility mode)

FAXMODE_LOW:                                        2 (204x98 DPI)

FAXMODE_LOW_COMPATIBLE:            3 (204x98 DPI compatibility mode)

FAXMODE_HIGH_DOWNSCALE:          4 (Downscaled to 204x196 DPI from 600x600 DPI internal resolution

The compatibility mode options are for printing from applications that cannot handle fax resolutions properly.

Return value - TRUE on success, otherwise FALSE

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.