StartPage

  int StartPage(hDC)    
  HDC hDC; /* device-context handle */

The StartPage function prepares the printer driver to accept data.

Parameters

hDC

Identifies the device context for the print job.

Return Value

The return value is TRUE if the function is successful. Otherwise, it is FALSE.

Comments

The system disables the ResetDC function between calls to the StartPage and EndPage functions. This means that application cannot change the device mode except at page boundaries.

See Also

EndPage Escape, ResetDC