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

 
public void addMarqueeText(String data ,int format, int unitWait, int repeatWait, int repeatCount, int lang) throws Epos2Exception

Parameter

data

Specifies the string to display.

format

Specifies how to display the string.

Value

Description

LineDisplay.MARQUEE_WALK

Displays the text from the rightmost position of the window.

LineDisplay.MARQUEE_PLACE

Displays the text from the leftmost position of the window.

LineDisplay.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

LineDisplay.LANG_EN

English

LineDisplay.LANG_JA

Japanese

LineDisplay.PARAM_DEFAULT

Specifies the default value (English).

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

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

Jump to the top