DrvSplStartPage

BOOL DrvSplStartPage(

    HANDLE  hDriver
  );

DrvSplStartPage prepares the printer to accept data.

Parameters

hDriver

Identifies the per-job instance handle with which the printer and print job are associated. The driver generated this handle in response to a call to DrvSplStartDoc.

Return Value

DrvSplStartPage returns TRUE upon success; otherwise it returns FALSE.

Comments

The spooler calls DrvSplStartPage to prepare the printer to accept data. The driver should perform any per-page activities required before the page can be rendered. This includes per-page initializations and the resetting of defaults.

The user-mode printer driver should take any steps necessary to protect itself in the event that multiple jobs are printed simultaneously.

DrvSplStartPage can be optionally implemented.

See Also

DrvSplEndPage, DrvSplWritePrinter