Select your printer model

Parameters are refined by the selected printer.

addTextRotate method


Adds text rotation setting to the command buffer.

Syntax

 
addTextRotate(rotate);

Parameter

rotate

Value

Description

true

Enables text rotation.

false (default)

Disables text rotation.

Return value

Return value

Object type

Printer object

Printer

HybridPrinter2 object

HybridPrinter2

Exception

Exception

Object type

Parameter " ... " is invalid

Error

Supplementary explanation

  • Specify the addTextRotate method at the beginning of a line. If this API is used elsewhere, it will be ignored.
  • This API does not work in the page mode.
  • Setting of the addTextRotate method is also applied to the barcode and 2D symbol.
  • Use addPageDirection method for text rotation setting in the page mode.
 

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