win32print.AddJob

AddJob(hprinter)

Add a job to be spooled to a printer queue

Parameters

hprinter : PyPrinterHANDLE

Printer handle as returned by win32print::OpenPrinter

Return Value

Returns the file name to which data should be written and the job id of the new job