Select your printer model
Parameters are refined by the selected printer.
<rectangle>
Draws a rectangle in the page mode.
Attribute
x1
Attribute value |
Description |
---|---|
“0” to “65535” |
Specifies the horizontal draw start position in dots. |
y1
Attribute value |
Description |
---|---|
“0” to “65535” |
Specifies the vertical draw start position in dots. |
x2
Attribute value |
Description |
---|---|
“0” to “65535” |
Specifies the horizontal draw end position in dots. |
y2
Attribute value |
Description |
---|---|
“0” to “65535” |
Specifies the vertical draw end position in 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
- Draws a rectangle with the start point (100,0) and end point (500,0) as apexes as a thin double line.
-
<page> <rectangle x1="100" y1="0" x2="500" y2="200" style="thin_double" /> </page>
Supplementary explanation
- This element does not work in the standard mode.
- Use the <hline>, <vline-begin>, and <vline-end> elements in the standard mode.
- The x1, y1, x2 and y2 attributes are mandatory.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
ePOS-Device XML includes patented or patent pending functions. The contents must not
be disclosed to third parties.
- 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