SetRedirectPrintingPrintAsBitmapEnabled

 

 Enables or disables the Print document as bitmap option.

The Print document as bitmap option converts the page content to a bitmap before redirecting to the printers. It can correct some graphical glitches that may occur with some printers or documents.

 

SetRedirectPrintingPrintAsBitmapEnabled (pDevMode As Long, bEnable As Boolean) As Boolean

 

Input value:pDevMode      

- Handle to the BlackIceDEVMODE structure.

Input value:bEnable          

- If this value is TRUE the Print document as bitmap option is enabled, if bEnable is FALSE the Print document as bitmap option is disabled.

Return value:BOOL            

- TRUE on success otherwise FALSE

 

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