Select your printer model

Parameters are refined by the selected printer.

beginTransaction


Starts a transaction.

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

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

Syntax

 
public void beginTransaction() throws Epos2Exception

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.

Another transaction had been already started by this function.

ERR_FAILURE

An unknown error occurred.

 

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