Select your printer model

Parameters are refined by the selected printer.

addReverseText


Adds reverse text display setting to the command buffer.

Syntax

 
(int) addReverseText:(NSString *)data;
 
(int) addReverseText:(NSString *)data lang:(int)lang;
 
(int) addReverseText:(NSString *)data x:(long)x y:(long)y;
 
(int) addReverseText: (NSString *)data x:(long)x y:(long)y lang:(int)lang;

Parameter

data

Specifies the string to display.

lang

Specifies the language to display the string.

Value

Description

EPOS2_LANG_EN (default)

English

EPOS2_LANG_JA

Japanese

EPOS2_PARAM_DEFAULT

Specifies the default value (English).

x

Specifies the x coordinate of the display position.

Value

Description

Integer from 1 to 20

X coordinate of the display position

y

Specifies the y coordinate of the display position.

Value

Description

Integer from 1 to 2

Y coordinate of the display position

Return value

Error status

Description

EPOS2_SUCCESS

The function was executed successfully.

EPOS2_ERR_PARAM

An invalid parameter was passed.

EPOS2_ERR_MEMORY

Necessary memory could not be allocated.

EPOS2_ERR_FAILURE

An unknown error occurred.

Supplementary explanation

  • If the coordinates of the display position are omitted, the coordinates of the cursor position upon execution of addText are used.
  • Parameters x and y specify coordinates with the origin at the top left of the line display.
 

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