Select your printer model

Parameters are refined by the selected printer.

addReverseText


Adds reverse text display setting to the command buffer.

Syntax

 
public void addReverseText(String data) throws Epos2Exception
 
public void addReverseText(String data, int lang) throws Epos2Exception
 
public void addReverseText(String data, int x, int y) throws Epos2Exception
 
public void addReverseText(String data, int x, int y, int lang) throws Epos2Exception

Parameter

data

Specifies the string to display.

lang

Specifies the language to display the string.

Value

Description

LineDisplay.LANG_EN (default)

English

LineDisplay.LANG_JA

Japanese

LineDisplay.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

Exception

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

Error status

Description

ERR_PARAM

An invalid parameter was passed.

ERR_MEMORY

Necessary memory could not be allocated.

ERR_FAILURE

An unknown error occurred.

Supplementary explanation

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

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