PrintSession method (ILFilmSession 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 all the Film Boxes that belong to the current Film Session.

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

This method requests the Print SCP to print all the Film Boxes that belong to the current Film Session. The PrintBox method of the ILFilmBox interface can be used to print only the current Film Box.

See Also

Elements:

Create method, LastOperationStatus property, PrintBox method

Topics:

DICOM Print Management SCU: Basic Print Management