Select your printer model

Parameters are refined by the selected printer.

addMarquee method


Adds marquee display setting to the command buffer.

Marquee display setting is not influenced by the window scroll mode specified by createWindow method, and one line of text string is displayed in the scroll mode.

Syntax

 
addMarquee(data, format, unitWait, repeatWait, repeatCount, lang);

Parameter

data

Value

Description

data

Specifies the character to display as a string.

format

Value

Description

MARQUEE_WALK

Displays the text from the rightmost position of the window.

MARQUEE_PLACE

Displays the text from the leftmost position of the window.

unitWait

Value

Description

0 to 2000

Specifies the display interval per character (in milliseconds).

repeatWait

Value

Description

100 to 2000

Specifies the display repeat interval (in milliseconds).

repeatCount

Value

Description

0

Unlimited

1 to 127

Specifies the display repeat count.

lang

Value

Description

"en" (default)

English

"ja"

Japanese (Kana)

Return value

Return value

Object type

Display object

Display

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 JavaScript

Jump to the top