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

image\sqrblit.gif CreationDate property: This property specifies the Creation Date (2100,0040).

image\sqrblit.gif CreationTime property: This property specifies the Creation Time (2100,0050).

image\sqrblit.gif ExecutionStatus property: This property specifies the Execution Status (2100,0020).

image\sqrblit.gif ExecutionStatusInfo property: This property specifies the Execution Status Info (2100,0030).

image\sqrblit.gif MainObject property: This property returns a reference to the LEADDicomPrintSCU object.

image\sqrblit.gif Originator property: This property specifies the Originator (2100,0070).

image\sqrblit.gif PrinterName property: This property specifies the Printer Name (2110,0030).

image\sqrblit.gif PrintPriority property: This property specifies the Print Priority (2000,0020).

image\sqrblit.gif RequiredInfo property: This property specifies the Print Job information to be retrieved using the GetInfo method.

Methods

image\sqrblit.gif 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.