GetInfo method (ILPrintJob Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short GetInfo(BSTR pszSOPInstanceUID);

Overview

Refer to Print Management SCU.

Remarks

The GetInfo method queries the Print SCP for information about the specified Print Job.

The method will not return until it receives the response of the Print SCP or an error occurs. The status code specified in the response of the Print SCP is given by the LastOperationStatus property. 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.

Before calling the method, the required Print Job information can be specified using the RequiredInfo property. Once the Print Job information is retrieved successfully, it can be obtained by accessing the various properties. Notice that any property that specifies the Value of an Attribute will be updated, even if the Attribute wasn’t specified before calling the method.

See Also

Elements:

PrintJobSOPInstanceUID property (ILFilmSession interface), PrintJobSOPInstanceUID property (ILFilmBox interface), PrintJobSOPInstanceUID property (ILPullPrintRequest interface), RequiredInfo property, OnPrintJobReport event, LastOperationStatus property

Topics:

DICOM Print Management SCU: Print Jobs