Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.32 KB

EndPage.md

File metadata and controls

47 lines (34 loc) · 1.32 KB

Home

Function name : EndPage

Group: Printing and Print Spooler - Library: gdi32


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


Code examples:

How to print FoxPro form
How to print a bitmap file
How to print picture stored in enhanced-format metafile (*.emf)
How to print FoxPro form -- II
GDI+: printing image file
GDI+: sending image of FoxPro form to printer
Printing Image File, programmatically set print page orientation to landscape

Declaration:

int EndPage(
  HDC hdc   // handle to DC
);  

FoxPro declaration:

DECLARE INTEGER EndPage IN gdi32;
	INTEGER hdc  

Parameters:

hdc [in] Handle to the device context for the print job.


Return value:

If the function succeeds, the return value is greater than zero.