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

 
- (int)addMoveCursorPosition:(int)position;

Parameter

position

Specifies the new cursor position within the current window.

Value

Description

EPOS2_MOVE_TOP_LEFT

Sets the new position to the top left edge.

EPOS2_MOVE_TOP_RIGHT

Sets the new position to the top right edge.

EPOS2_MOVE_BOTTOM_LEFT

Sets the new position to the bottom left edge.

EPOS2_MOVE_BOTTOM_RIGHT

Sets the new position to the bottom right edge.

EPOS2_PARAM_DEFAULT

Specifies the default value (top left edge).

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

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

Jump to the top