Select your printer model

Parameters are refined by the selected printer.

<area>


This element allows you to set a print area by specifying an origin (starting position) relative to the absolute origin, and specifying width and height.

The absolute origin is the top-left dot of the printable area.

Graphic

Attribute

Note:

The "x", "y", "width" and "height" elements must be specified.

x

Attribute value

Description

"0" to "65535"

Specifies the horizontal origin in units of dots.

y

Attribute value

Description

"0" to "65535"

Specifies the vertical origin in units of dots.

width

Attribute value

Description

"0" to "65535"

Specifies the width in units of dots

height

Attribute value

Description

"0" to "65535"

Specifies the height in units of dots

Sample program

Sets a 200-dots width and 30-dots height print area that starts from x:100 and y:50, and prints a text string "ABCDE".

 
<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
	<page>
		<area x="100" y="50" width="200" height="30" />
		<text>ABCDE</text>
	</page>
</epos-print>

Supplementary explanation

  • This does not work in the standard mode.
  • Define the print area in accordance with the contents to print. Any portion of print data outside the print area is not printed.
  • Specify the width and height of the print area in accordance with the print direction setting. If the width and height of the print area do not match the print direction setting, any portion of print data outside the print area will not be printed. Use <direction> to specify the print direction.
 

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