win32print.EndDoc

EndDoc(hdc)

Stops spooling a print job on a printer device context

Parameters

hdc : PyHANDLE

Printer device context handle as returned by win32gui::CreateDC