Select your printer model

Parameters are refined by the selected printer.

addTextSize method


Adds character scaling factor setting to the command buffer.

Syntax

 
addTextSize(width, height);

Parameter

width

Value

Description

Integer from 1 to 8 (default: 1)

Specifies the horizontal scaling factor rate.

undefined

Not specify.

height

Value

Description

Integer from 1 to 8 (default: 1)

Specifies the vertical scaling factor rate.

undefined

Not specify.

Return value

Return value

Object type

Printer object

Printer

HybridPrinter2 object

HybridPrinter2

Exception

Exception

Object type

Parameter " ... " is invalid

Error

Supplementary explanation

For slip, endorsement, or validation printing, an integer from 1 to 2 can be set for the width and height.

 

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