GetRedirectPrintingCopies

 

Gets the number of copies the Printer Driver will print.

If this value is set to 1, the value is taken from the printing application. This setting does not affect the normal output, only the “Redirect printing” feature. The “Use number of copies” value must be enabled using the SetRedirectPrintingForceNumberOfCopies method.

 

GetRedirectPrintingCopies (pDevMode As Long) As Integer

 

Input value:pDevMode        - Handle to the BlackIceDEVMODE structure.

Return value:Integer           - The number of copies the printer driver will print.


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