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 )
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.