Working With The LPrintJob Object
The PrintJob property returns a reference to the LPrintJob object which exposes the ILPrintJob interface, which has the following properties and method that can be used to query the Print SCP:
Properties
CreationDate property: This property specifies the Creation Date (2100,0040).
CreationTime property: This property specifies the Creation Time (2100,0050).
ExecutionStatus property: This property specifies the Execution Status (2100,0020).
ExecutionStatusInfo property: This property specifies the Execution Status Info (2100,0030).
MainObject property: This property returns a reference to the LEADDicomPrintSCU object.
Originator property: This property specifies the Originator (2100,0070).
PrinterName property: This property specifies the Printer Name (2110,0030).
PrintPriority property: This property specifies the Print Priority (2000,0020).
RequiredInfo property: This property specifies the Print Job information to be retrieved using the GetInfo method.
Methods
GetInfo method: This method queries the Print SCP for information about the specified Print Job. When the return value of the method is 0, then this means that the required Print Job information was retrieved successfully, with either a Success or Warning status code in the response of the Print SCP. Once the Print Job information is retrieved successfully, it can be obtained by accessing the various properties.