SetFaxOutputMode

 

#include “BlackIceDEVMODE.h”

 

BOOL  SetFaxOutputMode (BlackIceDEVMODE* pDevMode, DWORD dwFaxOutputMode);

Description

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

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure.

DWORD dwFaxOutputMode                   - Selected output mode/resolution (DWORD).

 

The available values are the values of the FaxOutputMode enum:

 

enum FaxOutputMode
{

FAXMODE_HIGH = 0,                                // 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.

Programming Notes

None

Code Example

None