Select your printer model

Parameters are refined by the selected printer.

setCursorPosition method


Specifies the coordinates and adds cursor position setting to the command buffer.

Syntax

 
setCursorPosition(x, y);

Parameter

x

Value

Description

1 to 44

Specifies the X coordinate.

y

Value

Description

1 to 19

Specifies the Y coordinate.

Return value

Return value

Object type

Display object

Display

Supplementary explanation

  • In DM-D70 (Standard mode), the cursor position is set in the current window specified in setCurrentTextArea method, with the top left as the origin.
    If the window is not specified in setCurrentTextArea method, 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

1 to 20

1 to 2

DM-D110

DM-D210

DM-D70 (Column/row fixed mode)

DM-D70 (Standard mode: Landscape orientation)

1 to 44

1 to 13

DM-D70 (Standard mode: Portrait orientation)

1 to 22

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 JavaScript

Jump to the top