PrintSession method (ILPullPrintRequest Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short PrintSession();

Overview

Refer to Print Management SCU.

Remarks

The PrintSession method requests the Print SCP to print the session of the current Pull Print Request SOP Instance.

There must be a Pull Print Request SOP Instance currently created before using this method.

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 session was printed successfully, with either a Success or Warning status code in the response of the Print SCP.

To print the session, the Print SCP should first retrieve the Stored Print Storage SOP Instance(s) specified when the Pull Print Request SOP Instance was created, retrieve the Image SOP Instances referenced by the former Instance(s), and then print the resulting film box(es).

See Also

Elements:

Create method, LastOperationStatus property

Topics:

DICOM Print Management SCU: Pull Stored Print Management