Select your printer model

Parameters are refined by the selected printer.

endTransaction


Ends a transaction.

A transaction represents a single printing task such as printing a single sheet of receipt or coupon.

After beginTransaction is called, data until the transaction is terminated by this API will be regarded as a single printing task.

Syntax

 
public void endTransaction() throws Eswv2Exception

Exception

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

Error status

Description

ERR_ILLEGAL

This API was called while no communication had been started.

This API was called while no transaction had been started.

ERR_FAILURE

An unknown error occurred.

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