Job.get(string jobID)

Use this call to see all the job attributes of the specified job.

Parameters

Parameter Description
JobID The ID number of the job

Returns

This call returns several attributes related to the job. Which specific attributes are returned depends on the job.

Example

from ConnectDefs import * 
import xmlrpclib

myProxy = None

try:
   myProxy = connectLogin("AcmeServer", "aiw", "password") 
   myJobData = myProxy.Job.get('10000024')
   print myJobData
    
except xmlrpcFault, err:
    print err.faultString + " (" + str(err.faultCode) + ")"
finally:
    connectLogout(myProxy, "aiw")

{'Job.Copies': 1, 'Job.State': 'Unassigned', 'Job.Print.FontFidelity': 
'Continue', 'Job.PLE.Staple': [], 'Job.IgnoreShopRules': 'No', 'Job.Wait
Reason': 'DeviceUnavailable', 'Job.InputFile': 'Demo.afp', 'Job.Print.Cur
rentTotalPages': 21, 'Job.TotalPages': 21, 'Job.Line2AFP.RESTYPE': [], 
'Job.Print.HeaderConfig': '/aiw/aiw1/control_files/banner_pages/header.
cfg', 'Type': 'Job', 'Job.Phase': 'Print', 'Job.ProcessedByJobType': 'AFP', 
'Job.ModifiedBy': 'CreatePageRanges', 'Job.Process': 'AFP', 'Job.InputFile
.Size': 5063281, 'Job.Print.CurrentPage': 1, 'Job.MediaRequired': [], 'Job.
Normalized.ID': '10000001', 'Job.SubmitTime':<DateTime '20130815T19:33:45' 
at 1271468, 'Job.Print.HeaderCopies': 1, 'Job.StapleRequired': 'No', 'Job.
Print.PSFINSegmentSize': 5000, 'Job.Name': 'Demo.afp', 'Job.JobType.History'
: ['AFP'], 'Job.Print.JogCopies': 'No', 'Job.Line2AFP.CC_TYPE': 'A', 'Job.
SpoolFileStem': '/aiw/aiw1/spool/default/10000001/', 'Job.RequestedPrinter': 
'*', 'Job.Line2AFP.CC': 'Yes', 'Job.SourceInputDeviceName': 'HotFolderAFP', 
'Job.JobType': 'AFP', 'Job.Print.FontMessages': 'No', 'Job.Form': 'STD', 
'Job.PLE.Media': [], 'Job.TotalSheets': 12, 'Job.Instance': 'System', 
'Job.ID': '10000001', 'Job.Print.DataCheck': 'Block', 'Job.InputDatastream': 
'afp', 'Job.Print.TrailerConfig': '/aiw/aiw1/control_files/banner_pages/
trailer.cfg', 'Job.Class': 'A', 'Job.JobSize': 12, 'Job.RowType.Job': 
'Job', 'Job.FileReceiptTime': <DateTime '20130815T19:32:46' at 1271b20, 
'Job.Line2AFP.ValidRCs': '0', 'Job.Line2AFP.IMAGEOUT': 'ASIS', 'Job.Print.
TrailerCopies': 1, 'Job.SourceInputDeviceType': 'HotFolder', 'Job.Print.
CurrentTotalSheets': 12, 'Job.ReprintGroup': [], 'Job.Print.SeparatorCopies'
: 1, 'Job.Print.SeparatorConfig': '/aiw/aiw1/control_files/banner_pages/se
parator.cfg', 'Job.CompressAllFiles': 'No', 'Job.Line2AFP.EXTENSIONS': [], 
'Job.RestartSteps': ['2013-08-15 19:33:45.178 Receive.AFP.SetJobPropsFrom
TextFile', '2013-08-15 19:33:45.86 Receive.AFP.DetectInputDataStream', 
'2013-08-15 19:33:45.944 Prepare.AFP.UseInlineFormDefinition', '2013-08-
15 19:33:46.038 Print.AFP.EnableRepositioning', '2013-08-15 19:33:46.809 
Print.AFP.CreatePageRanges'], 'Job.RetainDuration': 4320, 'Job.Phase
Progress': 'Working', 'Job.Step': 'PrintJobs'}
 
Copyright © 2014, 2018