Select your printer model

Parameters are refined by the selected printer.

<text>


Specifies the display settings of text displayed on the customer display

Attribute

x

Attribute value

Description

“1” to “44”

Specifies the x coordinate of the display position.

y

Attribute value

Description

“1” to “19”

Specifies the y coordinate of the display position.

reverse

Attribute value

Description

“true” / “1”

Enables the black-and-white reverse style.

“false” / “0”

Disables the reverse style.

lang

Attribute value

Description

“en”

English

“ja”

Japanese (Kana)

“mul”

Multiple languages (UTF-8)

color

Attribute value

Description

“#000000” to “#FFFFFF”

Specifies the color value of the string to be displayed in hexadecimal #RRGGBB

Sample program

  • Displays text from the upper-left position.
  •  
    <text  x=”1” y=”1” lang=”ja”>Carrots \100</text>
    
  • Displays text in the black-and-white reverse style from the current cursor position.
  •  
    <text reverse=”true”>Welcome!!</text>
    
  • Changes the current window to window 2 and displays text.
  •  
    <window number=”2”/>
    <text x=”1” y=”1” lang=”ja”>Carrots \100</text>
    

Supplementary explanation

  • If the x and y attributes are omitted, text is displayed at the cursor position at the time when the <text> element is executed.
  • In DM-D70 (Standard mode), the string is displayed at the position coordinates specified, with the top left of the current window specified in <textarea> as the origin.
    If the window is not specified in <textarea>, the string is displayed at the position coordinates specified, with the top left of the base window as the origin.
  • In DM-D70 (Column/row fixed mod), the string is displayed at the position coordinates specified, with the top left of the base window as the origin.
  • Refer to <window> for the cursor position after the string is displayed.
  • The value that can be specified in the x and y attributes varies depending on the customer display used and its display modes, as well as the installation method.
  • x

    y

    DM-D30

    1 to 20

    1 to 2

    DM-D110

    DM-D210

    DM-D70 (Column/row fixed mode)

    DM-D70 (Standard mode: Landscape orientation)

    1 to 44

    1 to 13

    DM-D70 (Standard mode: Portrait orientation)

    1 to 22

    1 to 19

  • Specify the value in both x and y attributes.
    If only a single attribute is specified, nothing is displayed.
  • When the color attribute is specified, the font color changes from the position coordinates specified in the x and y attributes.
  • If "mul" is specified in the lang attribute, the font color returns to the default setting of the customer display.
    If the color attribute is specified after specifying "mul" in the lang attribute, then color is processed after lang, and therefore, the font color specified in color is applied.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ePOS-Device XML includes patented or patent pending functions. The contents must not be disclosed to third parties.


ePOS-Device XML

Jump to the top