IsForcePaperSizeEnabled

 

 

#include “BlackIceDEVMODE.h”

 

BOOL                         IsForcePaperSizeEnabled(BlackIceDEVMODE* pDevMode);

 

Description

 

Returns the state of 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 is enabled, otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None