win32print.StartDoc

int = StartDoc(hdc, docinfo )

Starts spooling a print job on a printer device context

Parameters

hdc : PyHANDLE

Printer device context handle as returned by win32gui::CreateDC

docinfo : tuple

DOCINFO tuple specifying print job parameters

Return Value

On success, returns the job id of the print job