IsRedirectPrintingForceNumberOfCopies

 

Returns the state of the “Use number of copies” option.

If this option is enabled, the printer driver will override the Number of copies and Collate settings coming from the application and use the settings set by the SetRedirectPrintingCopies and SetRedirectPrintingCollate methods, or on the Printing Preferences. This setting does not affect the normal output, only the “Redirect printing” feature.

 

IsRedirectPrintingForceNumberOfCopies (pDevMode As Long) As Boolean

 

Input value:pDevMode        - Handle to the BlackIceDEVMODE structure.

Return value:BOOL             - TRUE if the option is turned on (The number of copies and collate options set in the driver are used), or FALSE if it is turned off (The number of copies and collate options received from the application are used).


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