StartPage

3.1

  int StartPage(hdc)    
  HDC hdc; /* handle of device context */

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 greater than zero if the function is successful. It is less than or equal to zero if an error occurs.

Comments

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

See Also

EndPage, Escape, ResetDC