Select your printer model
<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]
- Introduction
- help
- Message
- CommunicationBox Messages
- Device Messages
- DeviceHubTerminal
- BarcodeScanner
- Printer
- <type>print</type>
- <type>onxmlresult</type>
- <epos-print>
- <response>
- <text>
- <feed>
- <image>
- <logo>
- <barcode>
- <symbol>
- <hline>
- <vline-begin>
- <vline-end>
- <page>
- <area>
- <direction>
- <position>
- <line>
- <rectangle>
- <cut>
- <pulse>
- <sound>
- <command>
- <layout>
- <recovery>
- <reset>
- <batch-begin>
- <batch-end>
- <rotate-begin>
- <rotate-end>
- HybridPrinter
- <type>lock</type>
- <type>unlock</type>
- <type>print</type>
- <type>onxmlresult</type>
- <type>slipwaitinsertion</type>
- <type>slipprint2</type>
- <type>slipcancel</type>
- <type>endorsewaitinsertion</type>
- <type>endorseprint2</type>
- <type>endorsecancel</type>
- <type>validationwaitinsertion</type>
- <type>validationprint2</type>
- <type>validationcancel</type>
- <type>micrread</type>
- <type>micrcleaning</type>
- <type>micrcancel</type>
- <type>eject</type>
- <type>onreceive</type>
- CustomerDisplay
- Keyboard
- POSKeyboard
- MSR
- SerialDevice
- Storage
- OtherPeripheral
- Appendix
- List of KeyCode
- Supported Printers by XMLs
- ePOS-Device XML Functions That Can Be Used
- List of Supported Elements
- Printer-specific Support Information
- 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
- TM-H6000V
- TM-H6000VI
- 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-T88VI
- TM-T88VII
- TM-L100
- TM-m10
- TM-P20
- TM-P60II (Receipt)
- TM-P60II (Peeler)
- TM-P80
- TM-T20
- TM-T20II
- TM-T70
- TM-T70II
- TM-T82II
- TM-T83II
- TM-T88IV
- TM-T88V
- TM-T90
- TM-L90
- TM-U220
- TM-U220II
- TM-H6000IV
- Usage restriction by firmware version