Select your printer model

Parameters are refined by the selected printer.

<text>


This element allows you to specify text display settings to be displayed on a 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"

Inverts black and white

"false" / "0"

Cancels the black and white inversion

lang

Attribute value

Description

"en" (default)

English

"ja"

Japanese

"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 the text from the upper left.
  •  
    <text x="1" y="1" lang="ja">Carrots \100</text>
    
  • Displays inverted text (white text on black background) from the current cursor position.
  •  
    <text reverse="true">Welcome!!</text>
    
  • Changes the current window to "window 2" and displays window 2.
  •  
    <window number="2"/>
    <text x="1" y="1" lang="ja">Carrots \100</text>
    

Supplementary explanation

  • If "x" and "y" are not specified, the text is displayed from the current cursor position.
  • 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-Print XML includes patented or patent pending functions. The contents must not be disclosed to third parties.


Jump to the top