Select your printer model

Parameters are refined by the selected printer.

Error Status and countermeasures


Error Status

Cause

Countermeasure

ERR_PARAM

An invalid parameter was passed.

<Example>

A value outside the supported range was specified.

Check the value specified in the parameter.

ERR_CONNECT

Failed to communicate with the device.

<Example>

Failed to connect to the printer.

Run disconnect for the appropriate class and then connect to restore communication.

When a connection is established via Bluetooth, the Android OS automatically attempts a reconnection. If this error status occurs even after 20 seconds or more have elapsed, recover the communication according to the method described above.

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

ERR_MEMORY

Memory necessary for processing could not be allocated.

Close unnecessary applications.

ERR_ILLEGAL

The function was used in an illegal way.

<Example>

Tried to start communication with a printer with which communication had been already established.

Use the API in the correct manner.

ERR_PROCESSING

Could not run the process.

<Example>

The specified process could not be run because a similar process was being run by another thread.

The timing of the processes has overlapped. Re-execute the API in which the error occurred.

ERR_UNSUPPORTED

  • A model name or language not supported was specified.
  • A print method not supported by the printer was specified.
  • A function cannot be used if it is not supported by the specified model.
  • Specify a print method supported by the printer.

ERR_NOT_FOUND

The specified target could not be found.

<Example>

The printer specified as the connection target does not exist.

Check if the connection type and/or IP address are correct.

ERR_IN_USE

The specified device is in use.

<Example>

The device is being used by another application.

Stop using the device from another application.

ERR_TYPE_INVALID

The device class is not correct (Printer, LineDisplay).

Check the class of the connected device and connect to it with the correct device class.

An unsupported connection method is specified.

Check the system configuration, and specify the appropriate connection method.

ERR_DISCONNECT

Failed to disconnect from the device.

Check connection with the device.

ERR_ALREADY_OPENED

Communication box is already open.

Finish communication with the communication box.

ERR_ALREADY_USED

Specified member ID is already in use.

Specify a different member ID.

ERR_BOX_COUNT_OVER

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

Delete an unnecessary communication box.

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

ERR_FAILURE

An unknown error occurred.

Check for a problem with the execution environment.

ERR_RECOVERY_FAILURE

Failed to recover the printer.

Restart the printer.

 

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 Android

Jump to the top