Select your printer model

Parameters are refined by the selected printer.

addMarqueeText


Adds marquee display setting to the command buffer.

The marquee is displayed on a single line in the horizontal scroll mode, without regard to the scroll mode setting of the display window.

Syntax

 
- (int)addMarqueeText:(NSString *)data format:(int)format unitWait:(long)unitWait repeatWait:(long)repeatWait repeatCount:(long)repeatCount lang:(int)lang;

Parameter

data

Specifies the string to display.

format

Specifies how to display the string.

Value

Description

EPOS2_MARQUEE_WALK

Displays the text from the rightmost position of the window.

EPOS2_MARQUEE_PLACE

Displays the text from the leftmost position of the window.

EPOS2_PARAM_DEFAULT

Specifies the default value (Walk).

unitWait

Specifies the display interval per character (in milliseconds).

Value

Description

Integer from 1 to 2000

Display interval per character (in milliseconds).

repeatWait

Specifies the display repeat interval (in milliseconds).

Value

Description

Integer from 1 to 2000

Display repeat interval (in milliseconds)

repeatCount

Specifies the display repeat count.

Value

Description

Integer from 1 to 127

Display repeat count

0

Unlimited

lang

Specifies the language to display the string.

Value

Description

EPOS2_LANG_EN

English

EPOS2_LANG_JA

Japanese

EPOS2_PARAM_DEFAULT

Specifies the default value (English).

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

  • When using DM-D30 or DM-D70 and when using a combination of TM-H6000V with DM-D110/DM-D210, "0" is only allowed in repeatCount.
  • When controlling DM-D30 or DM-D70, its marquee display may be distorted if the interval for displaying text is too short due to the characteristics of the LCD.
    For unitWait and repeatWait, the following values are recommended.
    DM-D30: 600 msec or more
    DM-D70: 100 msec or more
 

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