SetRedirectPrintingForceNumberOfCopies

 

 

#include “BlackIceDEVMODE.h”

 

BOOL SetRedirectPrintingForceNumberOfCopies (BlackIceDEVMODE* pDevMode, BOOL bEnable);

Description

Enables or disables 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 functions, or on the Printing Preferences. This setting does not affect the normal output, only the “Redirect printing” feature.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

BOOL bEnable                                             - If tis value is TRUE the “Use number of copies” features will be enabled. If the bEnable is FALSE the “Use number of copies” features will be disabled.

Return value

TRUE on success otherwise FALSE.

Programming Notes

None

Code Example

None