Select your printer model

Parameters are refined by the selected printer.

addRotateBegin method


Adds the start batch rotate print mode to the command buffer.

Syntax

 
addRotateBegin();

Return value

Return value

Object type

Printer object

Printer

Supplementary explanation

  • This API does not work in the page mode.
  • Use the add APIs for batch rotate printing (Example: addText method) by enclosing between this API and addRotateEnd method.
  • Do not use the following APIs between this API and addRotateEnd method.
    · addPageBegin method
    · addPageEnd method
    · addCut method
    · addPulse method
    · addSound method
    · ejectPaper method
  • The data volume that the printer can process in a single batch rotate printing is as described below.
    · Strings: 80 lines
    · Graphics: 2400 dots
  • When you are using the add APIs (Example: addText method) in the batch rotate print mode, you must take care while using certain APIs.
  • API

    Precautions

    addTextSize method

    • If the longitudinal direction is set to triple angle or higher with addTextSize method before this API, then this API and the succeeding APIs will become double-angled.
    • If the longitudinal direction is set to triple angle or higher with addTextSize method after this API, then the specification in the longitudinal direction will be ignored and become single-angled.

    addFeedUnit method

    The number of paper feed lines varies depending on the line spacing specified in addTextLineSpace method.

    If the line spacing is specified as 30 in addTextLineSpace method, paper feeding can be performed for 8 lines with the maximum value of addFeedUnit method as 255.

    addImage method

    • If the total vertical size of print data exceeds 2400 dots, printing may not be performed as intended. For example, if 500-dot data B is sent to a location in the printer buffer where 2000-dot data A is accumulated, then data B will be accumulated in the printer buffer after data A has been printed.
    • The multi-gradation (16 scales) maximum size is up to 600 dots vertically.
      In the case of multi-gradation (16 scales), a data volume that is four times that of monochrome (2 scales) is required.
    • If the vertical size of one image element exceeds the data volume that can be processed in one go, printing will not be performed.
      Monochrome (2 scales) maximum value: 2400 dots
      Multi-gradation (16 scales) maximum value: 600 dots
 

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