Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
OnPrintJobReport Method
See Also 
Leadtools.Dicom Namespace > DicomPrintScu Class : OnPrintJobReport Method




printJobInstanceUid
The SOP Instance UID of the Print Job SOP Instance for which the status report was sent.
eventTypeID
Specifies the Event Type ID which indicates the status of the Print Job. Possible values are:
ValueMeaning
1Event Type Name = Pending.
2Event Type Name = Printing.
3Event Type Name = Done.
4Event Type Name = Failure.
reportInformation
A DicomPrintJobReportInformation object that specifies Print Job information. This can be a null reference (Nothing in Visual Basic).
Called when a Print Job status report is received from the Print SCP.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub OnPrintJobReport( _
   ByVal printJobInstanceUid As String, _
   ByVal eventTypeID As Integer, _
   ByVal reportInformation As DicomPrintJobReportInformation _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomPrintScu
Dim printJobInstanceUid As String
Dim eventTypeID As Integer
Dim reportInformation As DicomPrintJobReportInformation
 
instance.OnPrintJobReport(printJobInstanceUid, eventTypeID, reportInformation)
C# 
public virtual void OnPrintJobReport( 
   string printJobInstanceUid,
   int eventTypeID,
   DicomPrintJobReportInformation reportInformation
)
Managed Extensions for C++ 
public: virtual void OnPrintJobReport( 
   string* printJobInstanceUid,
   int eventTypeID,
   DicomPrintJobReportInformation* reportInformation
) 
C++/CLI 
public:
virtual void OnPrintJobReport( 
   String^ printJobInstanceUid,
   int eventTypeID,
   DicomPrintJobReportInformation^ reportInformation
) 

Parameters

printJobInstanceUid
The SOP Instance UID of the Print Job SOP Instance for which the status report was sent.
eventTypeID
Specifies the Event Type ID which indicates the status of the Print Job. Possible values are:
ValueMeaning
1Event Type Name = Pending.
2Event Type Name = Printing.
3Event Type Name = Done.
4Event Type Name = Failure.
reportInformation
A DicomPrintJobReportInformation object that specifies Print Job information. This can be a null reference (Nothing in Visual Basic).

Example

For an example, refer to Associate.

Remarks

This callback method is called whenever the Print SCU receives a report from the Print SCP about the changes in the status of a Print Job. The intended Print Job is specified by its SOP Instance UID. If the Print Job SOP Class is supported on the Association, this method is expected to be called. Otherwise, it will never be called.

If the status of the Print Job is Pending or Failure, the Print SCP is supposed to supply additional information about the pending/error condition in the Attribute Execution Status Info (the property ExecutionStatusInfo of the DicomPrintJobReportInformation class).

The implementation of the DicomPrintScu class for this method simply does nothing. In order to make use of this callback method, you should create a new class derived from the DicomPrintScu class and override the method providing the desired implementation.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features