Select your printer model

Parameters are refined by the selected printer.

addTextLang method


Adds language setting to the command buffer.

Sets the language of text specified by addText method.

Syntax

 
addTextLang(lang);

Parameter

lang

Value

Description

"en" (default)

English (ANK specification)

de

German (ANK specification)

fr

French (ANK specification)

it

Italian (ANK specification)

es

Spanish (ANK specification)

ja

Japanese (International character set is also changed to Japanese.)

ja-jp

ko

Korean (International character set is also changed to Korean.)

ko-kr

zh-hans

Simplified Chinese (International character set is also changed to Chinese.)

zh-cn

zh-hant

Traditional Chinese

zh-tw

th

Thai (South Asian model only)

mul

Multiple languages (UTF-8)

Language code other than above

English (ANK specification)

Depending on the specified language, some characters are printed as follows:

Language

Characters $ (U+0024)

Characters \ (U+005C)

Japanese

$

¥

Korean

$

Simplified Chinese

Graphic

\

Traditional Chinese

$

\

Return value

Return value

Object type

Printer object

Printer

HybridPrinter2 object

HybridPrinter2

Exception

Exception

Object type

Parameter " ... " is invalid

Error

Supplementary explanation

  • Use this API at the top of each print job.
  • Available languages differ depending on character specifications of the printer. For details, see Technical Reference Guide of the printer.
 

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