Select your printer model

Parameters are refined by the selected printer.

addReverseText method


Adds reverse display setting of a character in the customer display to the command buffer.

Syntax

 
addReverseText(data);
 
addReverseText(data, lang);
 
addReverseText(data, x, y);
 
addReverseText(data, x, y, lang);

Parameter

data

Value

Description

data

Specifies the character to display as a string.

lang

Value

Description

"en" (default)

English

"ja"

Japanese (Kana)

x

Value

Description

1 to 20

Specifies the X coordinate of the display position.

y

Value

Description

1 to 2

Specifies the Y coordinate of the display position.

Return value

Return value

Object type

Display object

Display

Supplementary explanation

If the coordinates of the display position are omitted, the coordinates of the cursor position upon execution of the addReverseText method 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 JavaScript

Jump to the top