Select your printer model

Parameters are refined by the selected printer.

addMoveCursorPosition


Adds cursor position setting within the current window to the command buffer.

Syntax

 
public void addMoveCursorPosition(int position) throw Epos2Exception

Parameter

position

Specifies the new cursor position within the current window.

Value

Description

LineDisplay.MOVE_TOP_LEFT

Sets the new position to the top left edge.

LineDisplay.MOVE_TOP_RIGHT

Sets the new position to the top right edge.

LineDisplay.MOVE_BOTTOM_LEFT

Sets the new position to the bottom left edge.

LineDisplay.MOVE_BOTTOM_RIGHT

Sets the new position to the bottom right edge.

LineDisplay.PARAM_DEFAULT

Specifies the default value (top left edge).

Exception

When the process fails, Epos2Exception with one of the following error value occurs.

Error status

Description

ERR_PARAM

An invalid parameter was passed.

ERR_MEMORY

Memory necessary for processing could not be allocated.

ERR_FAILURE

An unknown error occurred.

Supplementary explanation

  • In DM-D70 (Standard mode), move the cursor to the specified position from the origin of the window specified in addSetCurrentTextArea.
    If the window is not specified in addSetCurrentTextArea, move the cursor to the specified position from the origin of the base window.
  • In DM-D70 (Column/row fixed mode), move the cursor to the specified position from the origin of the base window.
 

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 Android

Jump to the top