Select your printer model

Parameters are refined by the selected printer.

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

  • true: ID of sent data
  • false: Null string

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

 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ePOS-Device XML includes patented or patent pending functions. The contents must not be disclosed to third parties.


ePOS-Device XML

Jump to the top