CDC::EndPage 

int EndPage( );

Return Value

Greater than or equal to 0 if successful; otherwise it is an error value, which can be one of the following:

Remarks

Informs the device that the application has finished writing to a page. This member function is typically used to direct the device driver to advance to a new page.

This member function replaces the NEWFRAME printer escape. Unlike NEWFRAME, this function is always called after printing a page.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::StartPage, CDC::StartDoc, CDC::Escape