WinXPrint_Done (hPrinter)
Finishes printing
Parameter | Description |
---|---|
hPrinter | The handle to the printer DC |
$$TRUE on success or $$FALSE on fail
You must call this function once you have finished printing. It closes the printer and cleans up resources allocated for printing.
'print the contents of a window on a single page hPrinter = WinXPrint_Start (1, 1, 1, -1, @cxPhys, @cyPhys, "Printing Test", $$TRUE, #hMain) WinXPrint_Page (hPrinter, #hMain, 0, 0, 400, 300, cxPhys, cyPhys, 1, 1) WinXPrint_Done (hPrinter) |