Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.25 KB

EndDoc.md

File metadata and controls

48 lines (35 loc) · 1.25 KB

Home

Function name : EndDoc

Group: Printing and Print Spooler - Library: gdi32


The EndDoc function ends a print job.


Code examples:

How to print FoxPro form
How to print a bitmap file
Printing text with the Escape function
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 EndDoc(
  HDC hdc   // handle to DC
);  

FoxPro declaration:

DECLARE INTEGER EndDoc 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.