Select your printer model

Parameters are refined by the selected printer.

Error Status and countermeasures


Error Status

Cause

Countermeasure

EPOS2_ERR_PARAM

An invalid parameter was passed.

<Example>

A value outside the supported range was specified.

Check the value specified in the parameter.

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

To connect via Bluetooth, establish a pairing connection with connectDevice, and then perform the process described above.

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

EPOS2_ERR_MEMORY

Memory necessary for processing could not be allocated.

Close unnecessary applications.

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

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

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

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

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

EPOS2_ERR_TYPE_INVALID

The device class is not correct (Epos2Printer, Epos2LineDisplay).

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.

EPOS2_ERR_DISCONNECT

Failed to disconnect from the device.

Check connection with the device.

EPOS2_ERR_ALREADY_OPENED

Communication box is already open.

Finish communication with the communication box.

EPOS2_ERR_ALREADY_USED

Specified member ID is already in use.

Specify a different member ID.

EPOS2_ERR_BOX_COUNT_OVER

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

Delete an unnecessary communication box.

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

EPOS2_ERR_FAILURE

An unknown error occurred.

Check for a problem with the execution environment.

EPOS2_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 iOS

Jump to the top