win32print.GetJob

dictionary = GetJob(hPrinter, JobID , Level )

Returns dictionary of information about a specified print job.

Parameters

hPrinter : PyPrinterHANDLE

Handle to a printer as returned by win32print::OpenPrinter.

JobID : int

Job Identifier.

Level=1 : int

Level of information to return (JOB_INFO_1, JOB_INFO_2, JOB_INFO_3 supported).

Return Value

Returns a dict representing a JOB_INFO_* struct, depending on level