Select your printer model
<error>
Acquires a device control command in <device_data>, service control command error in <service_data>, and other common errors, and then notifies the application of the error.
Response
Element |
Data type |
Description |
---|---|---|
sequence |
string |
ID to identify the message causing the error |
device_id |
string |
Device ID which generated the error |
code |
string |
Displays the error as a code. |
data |
string |
Error details corresponding to the driver upon DRIVER_ERROR occurrence |
data_id |
int |
One of the following values is set depending on the value set in <buffer> of the <open_device> message.
|
code
- Error in device_data
-
Element value
Description
“DEVICE_NOT_FOUND"
The specified device ID does not exist.
“DEVICE_NOT_OPEN"
The specified device is not open.
“SEND_ERROR”
Error occurred when sending data to the corresponding physical device.
“DRIVER_ERROR”
Error was detected in the driver.
“PARAM_ERROR”
A parameter error occurred.
“FUNCTION_NOT_FOUND”
The specified function does not exist in the driver.
- Error in service_data
-
Element value
Description
“SERVICE_NOT_FOUND”
The specified service ID does not exist.
“SEND_ERROR”
An error occurred while sending data.
“PARAM_ERROR”
A parameter error occurred.
- Other errors
-
Element value
Description
“COMMAND_ILLEGAL”
The XML contains a syntax error.
“SYSTEM_ERROR”
A system error occurred.
Sample program
<error> <sequence>123</sequence> <device_id>scanner002</device_id> <code>DEVICE_NOT_OPEN</code> <data></data> <data_id>2</data_id> </error> |
Supplementary explanation
- The value specified in the sequence element of the <device_data> or <service_data> request is passed to sequence.
- device_id is set for an error in <device_data>.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
- Introduction
- help
- Message
- CommunicationBox Messages
- Device Messages
- DeviceHubTerminal
- BarcodeScanner
- Printer
- <type>print</type>
- <type>onxmlresult</type>
- <epos-print>
- <response>
- <text>
- <feed>
- <image>
- <logo>
- <barcode>
- <symbol>
- <hline>
- <vline-begin>
- <vline-end>
- <page>
- <area>
- <direction>
- <position>
- <line>
- <rectangle>
- <cut>
- <pulse>
- <sound>
- <command>
- <layout>
- <recovery>
- <reset>
- <batch-begin>
- <batch-end>
- <rotate-begin>
- <rotate-end>
- HybridPrinter
- <type>lock</type>
- <type>unlock</type>
- <type>print</type>
- <type>onxmlresult</type>
- <type>slipwaitinsertion</type>
- <type>slipprint2</type>
- <type>slipcancel</type>
- <type>endorsewaitinsertion</type>
- <type>endorseprint2</type>
- <type>endorsecancel</type>
- <type>validationwaitinsertion</type>
- <type>validationprint2</type>
- <type>validationcancel</type>
- <type>micrread</type>
- <type>micrcleaning</type>
- <type>micrcancel</type>
- <type>eject</type>
- <type>onreceive</type>
- CustomerDisplay
- Keyboard
- POSKeyboard
- MSR
- SerialDevice
- Storage
- OtherPeripheral
- Appendix
- List of KeyCode
- Supported Printers by XMLs
- ePOS-Device XML Functions That Can Be Used
- List of Supported Elements
- Printer-specific Support Information
- TM-T20II-i
- TM-T70-i
- TM-T82II-i
- TM-T83II-i
- TM-T88V-i
- TM-T88VI-iHUB
- TM-U220-i
- TM-U220IIB-i
- TM-T70II-DT
- TM-T70II-DT2
- TM-T88V-DT
- TM-T88VI-DT2
- TM-H6000IV-DT
- TM-H6000V
- TM-H6000VI
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-T88VI
- TM-T88VII
- TM-L100
- TM-m10
- TM-P20
- TM-P60II (Receipt)
- TM-P60II (Peeler)
- TM-P80
- TM-T20
- TM-T20II
- TM-T70
- TM-T70II
- TM-T82II
- TM-T83II
- TM-T88IV
- TM-T88V
- TM-T90
- TM-L90
- TM-U220
- TM-U220II
- TM-H6000IV
- Usage restriction by firmware version