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

 
- (int) endTransaction;

Return value

Error status

Description

EPOS2_SUCCESS

The function was executed successfully.

EPOS2_ERR_ILLEGAL

This API was called while no communication had been started.
This API was called while no transaction had been started.

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

Jump to the top