Select your printer model

Parameters are refined by the selected printer.

addRotateBegin


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

Syntax

 
- (int) addRotateBegin;

Return value

Error status

Description

EPOS2_SUCCESS

The function was executed successfully.

EPOS2_ERR_MEMORY

Memory necessary for processing could not be allocated.

EPOS2_ERR_FAILURE

An unknown error occurred.

Supplementary explanation

  • This API does not work in the page mode.
  • Use the add APIs for batch rotate printing (Example: addText) by enclosing between this API and the addRotateEnd API.
  • Do not use the following APIs between this API and the addRotateEnd API.
    · endTransaction
    · addPageBegin
    ·addPageEnd
    · addCut
    · addPulse
    · addSound
    · setPrinterSetting
    · ejectPaper
  • 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) in the batch rotate print mode, you must take care while using certain APIs.
  • API

    Precautions

    addTextSize

    • If the longitudinal direction is set to triple angle or higher with addTextSize 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 after this API, then the specification in the longitudinal direction will be ignored and become single-angled.

    addFeedUnit

    The number of paper feed lines varies depending on the line spacing specified in addLineSpace.
    If the line spacing is specified as 30 in addLineSpace, paper feeding can be performed for 8 lines with the maximum value of addFeedUnit as 255.

    addImage

    • 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 iOS

Jump to the top