Select your printer model
<direction>
This element allows you to specify the print direction in the page mode.
Print direction and rotation of the print area can be specified. The starting position of the print area moves in accordance with the rotation.
Attribute
"dir" must be specified.
dir
Attribute value |
Description |
---|---|
"left_to_right" |
Prints from left to right (no rotation. The starting position is at the upper left.) |
"bottom_to_top" |
Prints from bottom to top (Rotate the print area counterclockwise by 90 degrees. The starting position is at the lower left.) |
"right_to_left" |
Prints from right to left (Rotate the print area by 180 degrees. The starting position is at the lower right.) |
"top_to_bottom" |
Prints from top to bottom (Rotate the print area clockwise by 90 degrees. The starting position is at the upper right.) |
Sample program
Rotates the print area clockwise by 90 degrees and prints a text string "ABCDE".
<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print"> <page> <direction dir="top_to_bottom" /> <text>ABCDE</text> </page> </epos-print> |
Supplementary explanation
This does not work in the standard mode.
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