SetSplitDocumentEnabled

#include “BlackIceDEVMODE.h”

 

BOOL SetSplitDocumentEnabled(BlackIceDEVMODE* pDevMode, BOOL bEnabled);

 

Description

 

Enables or disables document splitting in the printer driver. When printing to a multi-page file format and document splitting is turned on, the printer driver will start a new file every time the file reaches the specified number of pages. The number of pages can be specified using the SetSplitDocumentPage function.

 

Parameters

 

BlackIceDEVMODE* pDevMode           

- pointer to the BlackIceDEVMODE structure

BOOL bEnabled

– Set to TRUE, to turn on splitting, set to FALSE, to turn splitting off.

 

Return value

 

TRUE on success otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None