Select your printer model
<rectangle>
This element allows you to draw a quadrangle in the page mode.
Attribute
- "x1", "y1", "x2", and "y2" must be specified.
- When "style" is not specified, "thin" is applied.
x1
Attribute value |
Description |
---|---|
"0" to "65535" |
Specifies the horizontal draw start position in units of dots. |
y1
Attribute value |
Description |
---|---|
"0" to "65535" |
Specifies the vertical draw start position in units of dots. |
x2
Attribute value |
Description |
---|---|
"0" to "65535" |
Specifies the horizontal draw end position in units of dots. |
y2
Attribute value |
Description |
---|---|
"0" to "65535" |
Specifies the vertical draw end position in units of dots. |
style
Attribute value |
Description |
---|---|
"thin" |
Solid line: Fine |
"medium" |
Solid line: Middle |
"thick" |
Solid line: Thick |
"thin_double" |
Double line: Fine |
"medium_double" |
Double line: Middle |
"thick_double" |
Double line: Thick |
Sample program
Prints a quadrangle that starts from (100,0) and ends at (500,200) using a thin double line.
<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print"> <page> <rectangle x1="100" y1="0" x2="500" y2="200" style="thin_double" /> </page> </epos-print> |
Supplementary explanation
- This does not work in the standard mode.
- Use <hline>, <vline-begin>, and <vline-end> to draw a quadrangle 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