EndPagePrinter

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

Indicates the end of one page and the beginning of the next page.

hPrinter Identifies the printer for which the page will be concluded.

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

Each page in a print job begins with a StartPagePrinter function call and ends with an EndPagePrinter function call. The data for each page is written to the print file by using the WritePrinter function.