PosPrinter.ErrorEvent Event
2/27/2008
Queued by the service object when an error is detected and the device’s State transitions into the error state.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public Event ErrorEvent As DeviceErrorEventHandler
public abstract event DeviceErrorEventHandler ErrorEvent
public:
virtual event DeviceErrorEventHandler^ ErrorEvent {
void add (DeviceErrorEventHandler^ value) abstract;
void remove (DeviceErrorEventHandler^ value) abstract;
}
/** @event */
public abstract void add_ErrorEvent (DeviceErrorEventHandler value)
/** @event */
public abstract void remove_ErrorEvent (DeviceErrorEventHandler value)
Remarks
If DeviceErrorEventArgs.ErrorCode is Extended, DeviceErrorEventArgs.ErrorCodeExtended is set to one of the following values:
Value |
Meaning |
ExtendedErrorCoverOpen |
The printer cover is open. |
ExtendedErrorJrnEmpty |
The journal station is out of paper. |
ExtendedErrorRecEmpty |
The receipt station is out of paper. |
ExtendedErrorSlpEmpty |
A form is not inserted in the slip station. |
ExtendedErrorCartridgeRemoved |
The journal station cartridge is not present. |
ExtendedErrorJrnCartridgeEmpty |
The journal cartridge is empty. |
ExtendedErrorJrnHeadCleaning |
The journal station head is being cleaned. |
ExtendedErrorRecCartridgeRemoved |
The receipt station cartridge is not present. |
ExtendedErrorRecCartridgeEmpty |
The receipt cartridge is empty. |
ExtendedErrorRecHeadCleaning |
The receipt station head is being cleaned. |
ExtendedErrorSlpCartridgeRemoved |
The slip station cartridge is not present. |
ExtendedErrorSlpCartridgeEmpty |
The slip cartridge is empty. |
ExtendedErrorSlpHeadCleaning |
The slip station head is being cleaned. |
The DeviceErrorEventArgs.ErrorResponse property is preset to ErrorResponse.Retry. The application may set the value to one of the following:
Value |
Meaning |
ErrorResponse.Retry |
Retry the asynchronous output. The error state is exited. |
ErrorResponse.Clear |
Clear the asynchronous output. The error state is exited. |
See Also
Reference
PosPrinter Class
PosPrinter Members
Microsoft.PointOfService Namespace
DeviceErrorEventArgs Class
ErrorResponse Enumeration