Select your printer model

Parameters are refined by the selected printer.

Callback Code and countermeasures


CallbackCode

Cause

Countermeasure

CODE_SUCCESS

Processed successfully.

-

CODE_ERR_TIMEOUT

  • The process exceeded the specified timeout period.
  • The printer's buffer is full because a large amount of data was sent by the LFCPrinter class while the printer was waiting for paper removal.
  • Adjust the timeout period.
  • Release the printer from the paper removal waiting state. If this does not solve the problem, restart the printer.

CODE_ERR_NOT_FOUND

  • The connection type and/or IP address are not correct.
  • The specified device is not connected.
  • Check if the connection type and/or IP address are correct.
  • Check connection with the device.

CODE_ERR_AUTORECOVER

  • Head overheat error occurred.
  • Motor driver IC overheat error occurred.
  • Battery overheat error occurred.

Start the process after the device is cooled down.

The print reference mark on the label sheet cannot be found.

Open and close the cover.

CODE_ERR_COVER_OPEN

  • Cover is open.
  • Cover was opened during MICR read operation.

Close the printer cover.

CODE_ERR_CUTTER

Auto cutter error occurred.

Remove the error cause and power off and then on the printer.

CODE_ERR_MECHANICAL

Mechanical error occurred.

Remove the error cause and power off and then on the printer.

CODE_ERR_EMPTY

Paper has run out.

Refill the paper.

CODE_ERR_UNRECOVERABLE

Unrecoverable error occurred.

Power off and then on the printer.

Contact the distributor or service center if the problem persists.

CODE_ERR_SYSTEM

An error occurred with the TM-i firmware or TM-DT software.

Turn off and then turn on the power supply to the TM-i series/TM-DT series, and restart the OS.

CODE_ERR_PORT

  • Forced transmission was run in the online state.
  • A communication error occurred.
  • Run forced transmission in the offline state.
  • Review the connection environment.

CODE_ERR_INVALID_WINDOW

An unregistered window was specified.

Check the specified window.

CODE_ERR_JOB_NOT_FOUND

A print job ID which did not exist was specified.

Check the specified job ID.

CODE_PRINTING

requestPrintJobStatus was run by specifying a print job ID which was being printed.

Run the process after printing completes.

CODE_ERR_SPOOLER

Print data exceeding the spooler capacity was transmitted.

Check if communication with the printer is disconnected.

CODE_ERR_BATTERY_LOW

Battery has run out.

Replace the battery or connect the AC adapter.

CODE_ERR_FAILURE

An unknown error occurred.

Check for a problem with the execution environment.

CODE_ERR_TOO_MANY_REQUESTS

The number of print jobs or data to be displayed on a display has exceeded the allowable limit of the printer's firmware.

Wait for the printer to process some of the tasks, then send the jobs or data again.

CODE_ERR_REQUEST_
ENTITY_TOO_LARGE

Print job data with the size exceeding the capacity of the printer firmware was transmitted.

Check the content of the print job, reduce the size of the data, and then resend the print job.

CODE_ERR_NO_MICR_DATA

MICR data cannot be detected.

Check the slip sheet and clean the MICR mechanism if necessary.

CODE_ERR_ILLEGAL_LENGTH

Paper length is not appropriate.

Check the paper length.

CODE_ERR_NO_MAGNETIC_DATA

Magnetic waveform cannot be detected.

  • Check the font to read.
  • Clean the MICR mechanism.

CODE_ERR_RECOGNITION

Illegible MICR text was detected.

Check the status of the slip sheet.

CODE_ERR_READ

Error occurred during MICR read operation.

Remove the error cause and try again. If the error persists, restart the printer.

CODE_ERR_NOISE_DETECTED

Noise error was detected.

Remove the error cause and try the noise measurement again. If the error persists, restart the printer.

CODE_ERR_PAPER_JAM

Paper jam error occurred during MICR read operation.

Remove the jammed paper.

CODE_ERR_PAPER_PULLED_OUT

  • Paper was removed during insertion.
  • Paper was removed during MICR read operation.
  • Paper was removed after it had been inserted.

Reset the paper.

CODE_ERR_CANCEL_FAILED

Failed to cancel waiting for paper insertion.

Check the status of the printer and try the process again.

CODE_ERR_PAPER_TYPE

Pinter operation differs from the specified print method.

Specify a correct print method again.

CODE_ERR_WAIT_INSERTION

Could not run the process while waiting for paper insertion.

  • Reset the paper and try the process again.
  • Cancel waiting for paper insertion and try the process again.

CODE_ERR_ILLEGAL

The function was used in an illegal way.

<Example>
Tried to cancel waiting for paper insertion while paper had already been inserted.

Use the API in an appropriate manner.

CODE_ERR_INSERTED

Could not run the process while paper had already been inserted.

Eject the paper and try the process again.

CODE_ERR_WAIT_REMOVAL

Could not run the process while waiting for paper removal.

Remove the paper and try the process again.

CODE_ERR_DEVICE_BUSY

The specified device is in process.

Execute the process after the process completes.

CODE_ERR_RECOVERY_FAILURE

Failed to recover the printer.

Restart the printer.

CODE_ERR_JSON_FORMAT

Invalid JSON format.

Review the JSON format, and try sending the data again.

 

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