BOOL EndDocPrinter(hPrinter) | |||
HANDLE hPrinter; |
The EndDocPrinter function ends a print job.
hPrinter
Indicates the open Printer handle that this function is to be performed upon. This Handle is obtained with the OpenPrinter function. This function will fail if a StartDocPrinter has not already been issued on this Printer.
The return value is TRUE if the function was successful, or FALSE if an error occurred. To obtain extended error information, use the GetLastError function.