Select your printer model

Parameters are refined by the selected printer.

cancelInsertion


Cancels the paper insertion wait status.

The processing result of the devices using this API is notified to the listener method set by the setReceiveEventListener API of the HybridPrinter class.

Syntax

 
public void cancelInsertion () throws Epos2Execption

Exception

When the process fails, Epos2Exception with one of the following error value occurs.

Error status

Description

ERR_ILLEGAL

This API was called while no communication had been started.

This API was called while receipt printing was specified as the print method.

This API was called while not waiting for paper insertion.

This API was called while paper has already been inserted.

This API was called while reading MICR.

This API was called while waiting for paper removal.

ERR_MEMORY

Necessary memory could not be allocated.

ERR_FAILURE

An unknown error occurred.

ERR_PROCESSING

Could not run the process.

Supplementary explanation

This API is not executed on the main thread. Execute it on the sub-thread.

 

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