Epson TM-U330 Technical Reference Manual page 56

Hide thumbs Also See for TM-U330:
Table of Contents

Advertisement

5.1.2.2 Printer Errors and Status
A change in printer status when asynchronous data is being sent is made available to the program by the
firing of an ErrorEvent and StatusUpdateEvent. When the printer changes status while nothing is
happening, the change is told to the program by a StatusUpdateEvent only.
As an example, assume that the printer cover becomes open. Usually, when data is not being sent to the
printer and the cover is opened, a StatusUpdateEvent is fired to the application. After the AsyncMode
property is set to TRUE and a method is used to print data, if the cover is opened while the data is being
sent, the program is notified by an ErrorEvent. ErrorEvents are fired when the error has interrupted the
data that is being sent. Only StatusUpdateEvent will fire when the error does not effect the data and the
data will continue being sent as normal.
Reasons for the ErrorEvent being fired and the corresponding error names are listed below.
ResultCode/ ResultCodeExtended Reason
OPOS_E_ILLEGAL
OPOS_E_EXTENDED
OPOS_EPTR_COVER_OPEN
OPOS_EPTR_REC_EMPTY
OPOS_E_FAILURE
OPOS_EPTR_UNRECOVERABLE
OPOS_EPTR_CUTTER
OPOS_EPTR_MECHANICAL
OPOS_EPTR_OVERHEAT
OPOS_EX_DEVBUSY
OPOS_EPTR_REC_CARTRIDGE_REMOVED
OPOS_EPTR_REC_CARTRIDGE_EMPTY
OPOS_EPTR_REC_HEAD_CLEANING
After an error occurs, more detailed information about the error can be obtained from the ErrorLevel,
ErrorStation, and ErrorString properties.
5.1.2.3 ESC/POS commands
When you use ESC/POS commands to control the printer, you can get the status by using "status
command" including Auto Status Back command (ASB.) Please refer to the product specification.
5-3 Application Development Information
There is an abnormality with the device. (Includes the following 1
error)
Error determined by the device's SO (Includes the following 4 errors)
Cover is open.
Receipt paper is empty.
Hard error (Includes the following 6 errors).
Error that cannot be recovered from.
Error with the auto cutter.
Mechanical error.
Head overheat error.
Device busy error.
Receipt cartridge is removed.
Receipt cartridge is empty.
Receipt head starts cleaning.

Advertisement

Table of Contents
loading

Table of Contents