Description:

SplPdNewPage is an API exported by port drivers. It is called by PrtNewPage to signal the beginning of a new output page. This call is issued for the first page in a job with page number 1, to signal the spooler that the port driver can determine print job page boundaries.

#define INCL_SPL
#define INCL_SPLBIDI
#include <os2.h>

HFILE    hDevice;       /*  Handle from SplPdOpen. */
ULONG    ulPageNumber;  /*  The new page number. */
ULONG    rc;            /*  Return codes. */

rc = SplPdNewPage(hDevice, ulPageNumber);


[Back: SplPdNewPage]
[Next: SplPdNewPage Parameter - hDevice]