Select your printer model

Parameters are refined by the selected printer.

<line>


Draws a line 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 thin solid line with the start point (100,0) and end point (500,0).
  •  
    <page>
    <line x1="100" y1="0" x2="500" y2="0" style="thin" />
    </page>
    

Supplementary explanation

  • This element does not work in the standard mode.
  • A diagonal line cannot be drawn. Specify the attributes so that the line is drawn as a vertical or horizontal line.
  • 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