ePOS-Print XML
ePOS-Print XML offers the following commands (elements).
Available elements and parameters vary by printer model. Refer to XML Supported Printers.
XML for Controlling Printer
Route element |
Element |
Function |
---|---|---|
Prints a text |
||
Feeds paper |
||
Prints a raster image |
||
Prints an NV logo |
||
Prints a barcode |
||
Prints a 2D symbol |
||
Prints a horizontal line |
||
Starts to print a vertical line |
||
Finishes to print a vertical line |
||
Page mode |
||
Specifies a print area for the page mode |
||
Specifies the printing direction for the page mode |
||
Specifies a position to start printing for the page mode |
||
Prints a line in the page mode |
||
Prints a rectangle in the page mode |
||
Cuts paper |
||
Drawer kick-out |
||
Sounds a buzzer |
||
Inserts a command |
||
Paper settings |
||
Recovers from an error |
||
Resets the printer |
||
Starts the batch normal print mode |
||
Ends the batch normal print mode |
||
Starts the batch rotate print mode |
||
Ends the batch rotate print mode |
||
Acquires the execution result. |
The print mode includes the standard mode, page mode, batch normal print mode, and the batch rotate print mode.
- Standard mode
-
Prints data line by line. Line spacing is automatically adjusted according to character size, image size, and barcode height. Suitable for printing receipts whose print length varies by print content.
- Page mode
-
Prints page by page. Prints characters, images, and/or barcodes on a single page that is defined as a print area.
To print in the page mode, switch to the page mode using <page>. - Batch normal print mode
-
This is a print mode in which the range of the print data (such as characters, images, barcodes, etc.) is set, and the print data in the set range is compiled, and then printed.
Unlike the standard mode, printing starts after the entire print data has been received.
When performing the processing in the batch normal print mode, start the batch normal print processing with <batch-begin>, and end the batch normal print processing with <batch-end>.
- Batch rotate print mode
-
This is a print mode in which the range of the print data (such as characters, images, barcodes, etc.) is set, the print data in the set range is compiled, inverted, and then printed.
When performing the processing in the batch rotate print mode, start the batch rotate print processing with <rotate-begin>, and end the batch rotate print processing with <rotate-end>.
The elements that can be used in each mode are described in the table below.
Route element |
Element |
Standard mode |
Page mode |
Batch normal print mode |
Batch rotate print mode |
---|---|---|---|---|---|
✔ |
✔ |
✔ |
✔ |
||
✔ |
✔ |
✔ |
✔ |
||
✔ |
✔ |
✔ |
✔ |
||
✔ |
✔ |
✔ |
✔ |
||
✔ |
✔ |
✔ |
✔ |
||
✔ |
✔ |
✔ |
✔ |
||
✔ |
- |
✔ |
✔ |
||
✔ |
- |
✔ |
✔ |
||
✔ |
- |
✔ |
✔ |
||
✔ |
- |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
✔ |
- |
- |
- |
||
✔ |
- |
- |
- |
||
✔ |
- |
- |
- |
||
✔ |
✔ |
✔ |
✔ |
||
✔ |
- |
✔ |
✔ |
||
✔ |
- |
- |
- |
||
✔ |
- |
- |
- |
||
✔ |
- |
- |
- |
||
✔ |
- |
✔ |
- |
||
✔ |
- |
- |
- |
||
✔ |
- |
- |
✔ |
||
✔ |
✔ |
✔ |
✔ |
The table below shows the default for each of the elements.
The default is a factory default configured on the printer.
Element |
Attribute |
Default value |
---|---|---|
lang |
"en" |
|
font |
"font_a" |
|
smooth |
"false" / "0" |
|
dw |
"false" / "0" |
|
dh |
"false" / "0" |
|
width |
"1" |
|
height |
"1" |
|
reverse |
"false" / "0" |
|
ul |
"false" / "0" |
|
em |
"false" / "0" |
|
color |
"color_1" |
|
x |
"0" |
|
y |
"21" |
|
align |
"left" |
|
rotate |
"false" / "0" |
|
linespc |
The value differs by printer model. For details, refer to Printer-specific Support Information. |
|
linespc |
||
color |
"color_1" |
|
align |
"left" |
|
mode |
"mono" |
|
align |
"left" |
|
hri |
"none" |
|
font |
"font_a" |
|
width |
"3" |
|
height |
"162" |
|
align |
"left" |
|
rotate |
"false" / "0" |
|
level |
The value differs by type of 2D symbol. For details, refer to <symbol>. |
|
width |
||
hight |
||
size |
||
align |
"left" |
|
rotate |
"false" / "0" |
|
x |
"0" |
|
y |
"0" |
|
width |
The value differs by printer model. For details, refer to Printer-specific Support Information.. |
|
height |
||
dir |
"left_to_right" |
|
x |
"0" |
|
y |
"21" |
XML for Controlling Customer Display
Route element |
Element |
Function |
---|---|---|
Window settings |
||
Base window settings |
||
Window settings |
||
Displays a cursor |
||
Displays text |
||
Marquee display settings for text strings |
||
Sets the display to blink |
||
Sets the brightness of the customer display |
||
Sets the background color |
||
Slide show settings |
||
Displays an image |
||
Registers an image |
||
Displays an NV image |
||
Deletes an image |
||
Displays a two-dimensional symbol |
||
Deletes a two-dimensional symbol |
||
Time display settings |
||
Exits the display of the current window |
||
Resets the display of the customer display |
||
Runs an ESC/POS command |
||
Acquires the execution result. |
The elements and attributes that can be used vary depending on the customer display used and its display modes.
The table below shows the elements that can be used in each customer display and display mode.
Element |
Attribute |
DM-D30 |
DM-D70 (Standard mode) |
DM-D70 (Column/row fixed mode) |
DM-D110/DM-D210 |
---|---|---|---|---|---|
✔ |
- |
✔ |
✔ |
||
- |
✔ |
✔ |
- |
||
- |
✔ |
- |
- |
||
x |
✔ |
✔ |
✔ |
✔ |
|
y |
✔ |
✔ |
✔ |
✔ |
|
moveto |
✔ |
✔ |
✔ |
✔ |
|
type |
✔ |
- |
- |
✔ |
|
x |
✔ |
✔ |
✔ |
✔ |
|
y |
✔ |
✔ |
✔ |
✔ |
|
reverse |
✔ |
- |
- |
✔ |
|
lang |
✔* |
✔ |
✔ |
✔* |
|
color |
- |
✔ |
- |
- |
|
✔ |
✔ |
✔ |
✔ |
||
✔ |
- |
- |
✔ |
||
✔ |
✔ |
✔ |
✔ |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
- |
✔ |
- |
- |
||
✔ |
- |
- |
✔ |
||
✔ |
✔ |
✔ |
✔ |
||
✔ |
✔ |
✔ |
✔ |
||
✔ |
✔ |
✔ |
✔ |
*: The setting value "mul" cannot be used.
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-H6000IV
- TM-H6000IV-DT
- TM-H6000V
- TM-H6000VI
- TM-L90
- TM-L90 4xx
- TM-L90-i
- TM-L100
- 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-T20
- TM-T20II
- TM-T20II-i
- TM-T20III
- TM-T20IV
- TM-T20IV-SP
- TM-T70
- TM-T70-i
- TM-T70II
- TM-T70II-DT
- TM-T70II-DT2
- TM-T82II
- TM-T82II-i
- TM-T82III
- TM-T82IV
- TM-T83II
- TM-T83II-i
- TM-T88IV
- TM-T88V
- TM-T88V-DT
- TM-T88V-i
- TM-T88VI
- TM-T88VI-DT2
- TM-T88VI-iHUB
- TM-T88VII
- TM-T90
- TM-U220
- TM-U220-i
- TM-U220II
- TM-U220IIB-i
- TM-U330
- Usage Restrictions by Firmware Version
- ePOS-Print Settings