Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Call this member function to prepare the printer driver to receive data.

int StartPage( );

Greater than or equal to 0 if the function is successful, or a negative value if an error occurred.

StartPage supersedes the NEWFRAME and BANDINFO escapes.

For an overview of the sequence of printing calls, see the StartDoc member function.

The system disables the ResetDC member function between calls to StartPage and EndPage.

See the example for CDC::StartDoc.

Header: afxwin.h

© 2015 Microsoft