IsForcePaperSizeEnabled

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.

 

IsForcePaperSizeEnabled(pBlackIceDEVMODE As Long) As Boolean

 

Input value: pBlackIceDEVMODE            - handle to the BlackIceDEVMODE.

Return value - TRUE if the option is enabled, otherwise FALSE.

 

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