다음을 통해 공유


CDC::StartPage

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

int StartPage( );

Return Value

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

Remarks

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.

Example

See the example for CDC::StartDoc.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::Escape

CDC::EndPage