win32print.AbortDoc

AbortDoc(hdc)

Cancels a print job

Parameters

hdc : PyHANDLE

Printer device context handle as returned by win32gui::CreateDC