SetSplitDocumentPage

#include “BlackIceDEVMODE.h”

 

BOOL SetSplitDocumentPage(BlackIceDEVMODE* pDevMode, DWORD dwPage);

 

Description

 

Set the number of pages where the document will be split if splitting is turned on.

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. Splitting can be turned on or off using the SetSplitDocumentEnabled function.

 

Parameters

 

BlackIceDEVMODE* pDevMode                

- pointer to the BlackIceDEVMODE structure

 

 

DWORD dwPage                                        

– Set the number of pages where the document will be split if splitting is turned on.

 

Return value

 

TRUE on success otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None