Group: Printing and Print Spooler - Library: gdi32
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
int StartDoc(
HDC hdc, // handle to DC
CONST DOCINFO* lpdi // contains file names
);
DECLARE INTEGER StartDoc IN gdi32;
INTEGER hdc,;
STRING @ lpdi
hdc [in] Handle to the device context for the print job.
lpdi [in] Pointer to a DOCINFO structure containing the name of the document file and the name of the output file.
If the function succeeds, the return value is greater than zero. This value is the print job identifier for the document.