Select your printer model

Parameters are refined by the selected printer.

<rectangle>


This element allows you to draw a quadrangle in the page mode.

Attribute

Note:
  • "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

 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ePOS-Print XML includes patented or patent pending functions. The contents must not be disclosed to third parties.


Jump to the top