Select your printer model

Parameters are refined by the selected printer.

HybridPrinter


Initializes the HybridPrinter class.

Syntax

 
public HybridPrinter(int lang, Context context) throws Epos2Exception

Parameter

lang

Specifies the language of the printer.

Value

Description

HybridPrinter.MODEL_ANK

English (ANK specification)

HybridPrinter.MODEL_JAPANESE

Japanese

HybridPrinter.MODEL_CHINESE

Simplified Chinese

HybridPrinter.MODEL_TAIWAN

Traditional Chinese

HybridPrinter.MODEL_KOREAN

Korean

HybridPrinter.MODEL_THAI

Thai

HybridPrinter.MODEL_SOUTHASIA

South Asian specification

context

Specifies the application context.

Exception

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

Error status

Description

ERR_PARAM

An invalid parameter was specified.

ERR_MEMORY

Necessary memory could not be allocated.

ERR_UNSUPPORTED

A language not supported was specified.

Supplementary explanation

When iterating a process, be sure to generate and destroy instances outside the iterated process and not iterate the process at a short interval.
Memory releasing by the OS may affect the process of the Epson ePOS SDK, resulting in an invalid operation.

 

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