Select your printer model
<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]
- Introduction
- help
- XML for Controlling Printer
- XML for Controlling Customer Display
- Appendix
- XML Supported Printers
- Supported Elements List
- Printer-specific Support Information
- TM-m10
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-P20
- TM-P20II
- TM-P60II (Receipt)
- TM-P60II (Peeler)
- TM-P80
- TM-P80II
- TM-T20III
- TM-T82III
- TM-T88VI
- TM-T88VII
- TM-L100
- TM-U220II
- TM-H6000V
- TM-H6000VI
- TM-L90
- TM-L90 4xx
- TM-T20
- TM-T20II
- TM-T70
- TM-T70II
- TM-T82II
- TM-T83II
- TM-T88IV
- TM-T88V
- TM-T90
- TM-U220
- TM-U330
- TM-H6000IV
- TM-L90-i
- TM-T20II-i
- TM-T70-i
- TM-T82II-i
- TM-T83II-i
- TM-T88V-i
- TM-T88VI-iHUB
- TM-U220-i
- TM-U220IIB-i
- TM-T70II-DT
- TM-T70II-DT2
- TM-T88V-DT
- TM-T88VI-DT2
- TM-H6000IV-DT
- Usage Restrictions by Firmware Version
- ePOS-Print Settings