win32print.EndDocPrinter

None = EndDocPrinter(hPrinter)

The EndDocPrinter function ends a print job for the specified printer. To be used after using WritePrinter.

Parameters

hPrinter : PyPrinterHANDLE

handle to printer (from win32print::OpenPrinter)