DisableForcePaperSize

 

 

#include “BlackIceDEVMODE.h”

 

BOOL                         DisableForcePaperSize(BlackIceDEVMODE* pDevMode);

 

Description

 

Disables the "Force Paper Size" option in the Printer Driver. When enabled, the

documents will always be printed using the paper size and resolution settings specified, regardless of the Paper size and DPI settings of the application.

 

Parameters

 

BlackIceDEVMODE* pDevMode  - pointer to the BlackIceDEVMODE structure.

 

Return value

 

TRUE if the option was successfully disabled, otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None