SetNUp

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetNUp (BlackIceDEVMODE* pDevMode, DWORD dwValue);

Description

Sets the current value of the “Pages Per Sheet (N-Up)” setting. In the Pages Per Sheet setting, one can specify the number of pages to print on a single page of the generated document.

Parameters

BlackIceDEVMODE* pDevMode               - Pointer to the BlackIceDEVMODE structure.

DWORD dwValue                                        - The number of pages to print on a single page of the output document. The valid values are: 1, 2, 4, 6, 8, 9, 16

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None