LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

OnPrintJobReport Method








The SOP Instance UID of the Print Job SOP Instance for which the status report was sent.
Specifies the Event Type ID which indicates the status of the Print Job. Possible values are:
Value Meaning
1 Event Type Name = Pending.
2 Event Type Name = Printing.
3 Event Type Name = Done.
4 Event Type Name = Failure.
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. .NET support
Syntax
public virtual void OnPrintJobReport( 
   string printJobInstanceUid,
   int eventTypeID,
   DicomPrintJobReportInformation reportInformation
)
'Declaration
 
Public Overridable Sub OnPrintJobReport( _
   ByVal printJobInstanceUid As String, _
   ByVal eventTypeID As Integer, _
   ByVal reportInformation As DicomPrintJobReportInformation _
) 
'Usage
 
Dim instance As DicomPrintScu
Dim printJobInstanceUid As String
Dim eventTypeID As Integer
Dim reportInformation As DicomPrintJobReportInformation
 
instance.OnPrintJobReport(printJobInstanceUid, eventTypeID, reportInformation)
public virtual void OnPrintJobReport( 
   string printJobInstanceUid,
   int eventTypeID,
   DicomPrintJobReportInformation reportInformation
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomPrintScu.OnPrintJobReport( 
   printJobInstanceUid ,
   eventTypeID ,
   reportInformation 
)
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:
Value Meaning
1 Event Type Name = Pending.
2 Event Type Name = Printing.
3 Event Type Name = Done.
4 Event Type Name = Failure.
reportInformation
A DicomPrintJobReportInformation object that specifies Print Job information. This can be a null reference (Nothing in Visual Basic).
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 DicomPrintJobReportInformation.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.

Example
For an example, refer to Associate(String,Int32,String,String,DicomPrintScuPrintManagementClassFlags).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomPrintScu Class
DicomPrintScu Members
GetPrintJobInstanceUid Method
GetPrintJobInformation Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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