Select your printer model

Parameters are refined by the selected printer.

addSetCursorPosition


Adds cursor position setting to the command buffer.

Syntax

 
- (int)addSetCursorPosition:(long)x y:(long)y;

Parameter

x

Specifies the destination x coordinate.

Value

Description

Integer from 1 to 44

Destination x coordinate

y

Specifies the destination y coordinate.

Value

Description

Integer from 1 to 19

Destination y coordinate

Return value

Error status

Description

EPOS2_SUCCESS

The function was executed successfully.

EPOS2_ERR_PARAM

An invalid parameter was passed.

EPOS2_ERR_MEMORY

Memory necessary for processing could not be allocated.

EPOS2_ERR_FAILURE

An unknown error occurred.

Supplementary explanation

  • Use addMoveCursorPosition to move within a window.
  • In DM-D70 (Standard mode), the cursor position is set in the current window specified in addSetCurrentTextArea, with the top left as the origin.
    If the window is not specified in addSetCurrentTextArea, set the cursor position in the base window, with the top left as the origin.
  • In DM-D70 (Column/row fixed mode), the cursor position is set in the base window, with the top left as the origin.
  • The value that can be specified in the x, y parameters varies depending on the customer display used and its display modes, as well as the installation method.

x

y

DM-D30

Integer from 1 to 20

Integer from 1 to 2

DM-D110

DM-D210

DM-D70 (Column/row fixed mode)

DM-D70 (Standard mode: Landscape orientation)

Integer from 1 to 44

Integer from 1 to 13

DM-D70 (Standard mode: Portrait orientation)

Integer from 1 to 22

Integer from 1 to 19

 

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