Select your printer model

Parameters are refined by the selected printer.

Error Codes acquired in the Callback Parameter and Counteractions


Error code

Cause

Countermeasure

PARAM_ERROR

An invalid parameter was passed.

<Example>

A value outside the supported range was specified.

Check the value specified in the parameter.

ERROR_PARAMETER

PARAMETER_ERROR

ERROR_TIMEOUT

Failed to communicate with the devices within the specified time.

  • Check the timeout period.
  • Set the timeout period to longer than the time required for printing.
  • Check connection with the device.

DEVICE_NOT_FOUND

The specified target could not be found.

<Example>

The printer specified as the connection target does not exist.

Confirm that the deviceId and deviceType are correct.

DEVICE_IN_USE

The specified device is in use.

<Example>

The device is being used by another application.

Stop using the device from another application.

DEVICE_TYPE_INVALID

  • The device object is not correct (Printer, Display).
  • An unsupported connection method is specified.

The device type specified in deviceId does not match the deviceType. Revise the specification of the deviceId and deviceType parameters.

DEVICE_OPEN_ERROR

Failed to connect to the device.

Check connection with the device.

DEVICE_NOT_OPEN

  • The device is not connected.
  • Tried to control the device without calling createDevice method.
  • Check communication status and connect with the device.
  • Check if createDevice method has been called.

DEVICE_CLOSE_ERROR

Failed to disconnect the device.

Check connection with the device.

ALREADY_OPENED

Communication box is already open.

Finish communication with the communication box.

MEMBERID_ALREADY_USED

Specified member ID is already in use.

Specify a different member ID.

MEMBER_NOT_FOUND

The specified target could not be found.

<Example>

The member specified as the data receiver does not exist in the communication box.

Check the member ID and communication with the device.

BOX_COUNT_OVER

The number of created communication boxes has exceeded the upper limit.

Delete an unnecessary communication box.

BOX_CLIENT_OVER

The number of members belong to the communication box has exceeded the upper limit.

Delete a member who is not using the communication box.

NOT_OPENED

Communication box is not open.

Open the communication box.

SYSTEM_ERROR

An unknown error occurred.

Check for a problem with the execution environment.

 

Quick Access

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

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for JavaScript

Jump to the top