Select your printer model
<area>
This element allows you to set a print area by specifying an origin (starting position) relative to the absolute origin, and specifying width and height.
The absolute origin is the top-left dot of the printable area.
Attribute
The "x", "y", "width" and "height" elements must be specified.
x
Attribute value |
Description |
---|---|
"0" to "65535" |
Specifies the horizontal origin in units of dots. |
y
Attribute value |
Description |
---|---|
"0" to "65535" |
Specifies the vertical origin in units of dots. |
width
Attribute value |
Description |
---|---|
"0" to "65535" |
Specifies the width in units of dots |
height
Attribute value |
Description |
---|---|
"0" to "65535" |
Specifies the height in units of dots |
Sample program
Sets a 200-dots width and 30-dots height print area that starts from x:100 and y:50, and prints a text string "ABCDE".
<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print"> <page> <area x="100" y="50" width="200" height="30" /> <text>ABCDE</text> </page> </epos-print> |
Supplementary explanation
- This does not work in the standard mode.
- Define the print area in accordance with the contents to print. Any portion of print data outside the print area is not printed.
- Specify the width and height of the print area in accordance with the print direction setting. If the width and height of the print area do not match the print direction setting, any portion of print data outside the print area will not be printed. Use <direction> to specify the print direction.
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