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

 
- (int) beginTransaction

Return value

If the process succeeds, EPOS2_SUCCESS will be returned.

If the process fails, one of the following values be returned.

Error status

Description

EPOS2_ERR_ILLEGAL

This API was called while no communication had been started.

Another transaction had been already started by this function.

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

Jump to the top