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.


ePOS-Device XML

Jump to the top