Leadtools.Dicom Namespace > DicomPrintScu Class : OnPrinterReport Method |
Value | Meaning |
---|---|
1 | Normal condition (Event Type Name = Normal). In this case, the parameter reportInformation will be a null reference (Nothing in Visual Basic). |
2 | Warning condition (Event Type Name = Warning). |
3 | Failure condition (Event Type Name = Failure). |
public virtual void OnPrinterReport( int eventTypeID, DicomPrinterReportInformation reportInformation )
'Declaration Public Overridable Sub OnPrinterReport( _ ByVal eventTypeID As Integer, _ ByVal reportInformation As DicomPrinterReportInformation _ )
'Usage Dim instance As DicomPrintScu Dim eventTypeID As Integer Dim reportInformation As DicomPrinterReportInformation instance.OnPrinterReport(eventTypeID, reportInformation)
public virtual void OnPrinterReport( int eventTypeID, DicomPrinterReportInformation reportInformation )
ObjectiveC Syntax
function Leadtools.Dicom.DicomPrintScu.OnPrinterReport( eventTypeID , reportInformation )
public: virtual void OnPrinterReport( int eventTypeID, DicomPrinterReportInformation^ reportInformation )
Value | Meaning |
---|---|
1 | Normal condition (Event Type Name = Normal). In this case, the parameter reportInformation will be a null reference (Nothing in Visual Basic). |
2 | Warning condition (Event Type Name = Warning). |
3 | Failure condition (Event Type Name = Failure). |
In warning and failure conditions, the Print SCP is supposed to supply additional information about the printer status in the Attribute Printer Status Info (the property DicomPrinterReportInformation.PrinterStatusInfo of the DicomPrinterReportInformation 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.
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