StartPagePrinter

BOOL StartPagePrinter(
HANDLE hPrinter  /* handle of printer object */
);
 

Informs the spooler that a page is about to be printed on the specified printer.

hPrinter Identifies a printer.

The printer handle hPrinter is obtained by calling the OpenPrinter function.

When an application has finished writing a page, it should call the EndPagePrinter function to inform the spooler that the page is complete.