- eventTypeID
-
Specifies the Event Type ID which indicates normal, warning, or failure conditions.
Possible values are:
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).
- reportInformation
- A DicomPrinterReportInformation object that specifies printer information in warning and failure conditions. This can be a null reference (Nothing in Visual Basic) and it is always a null reference if the parameter eventTypeID is equal to 1 (normal condition).
Visual Basic (Declaration) | |
---|---|
Public Overridable Sub OnPrinterReport( _ ByVal eventTypeID As Integer, _ ByVal reportInformation As DicomPrinterReportInformation _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void OnPrinterReport( int eventTypeID, DicomPrinterReportInformation reportInformation ) |
C++/CLI | |
---|---|
public: virtual void OnPrinterReport( int eventTypeID, DicomPrinterReportInformation^ reportInformation ) |
Parameters
- eventTypeID
-
Specifies the Event Type ID which indicates normal, warning, or failure conditions.
Possible values are:
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). - reportInformation
- A DicomPrinterReportInformation object that specifies printer information in warning and failure conditions. This can be a null reference (Nothing in Visual Basic) and it is always a null reference if the parameter eventTypeID is equal to 1 (normal condition).
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family