Select your printer model

Parameters are refined by the selected printer.

<line>


This element allows you to draw a line 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 thin line starting from (100,0) and ending at (500,0).

 
<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
	<page>
		<line x1="100" y1="0" x2="500" y2="0" style="thin" />
	</page>
</epos-print>

Supplementary explanation

  • This does not work in the standard mode.
  • A diagonal line cannot be drawn.
 

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