Select your printer model

Parameters are refined by the selected printer.

<position>


This element allows you to specify the print start position (coordinates) within the print area specified by <area> with reference to the starting position of the print area.

Attribute

Note:

"x" and "y" must be specified.

x

Attribute value

Description

"0" to "65535"

Specifies the horizontal print start position in units of dots.

y

Attribute value

Description

"0" to "65535"

Specify the vertical print start position in units of dots.

Sample program

Specifies the print start position to 50,30 in the print area specified by <area>, 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="100" />
		<position x="50" y="30" />
		<text>ABCDE</text>
	</page>
</epos-print>

Supplementary explanation

  • This does not work in the standard mode.
  • Define the print start position (coordinates) in accordance with the contents to print.
  • Print data

    Description

    Text string

    Specify the leftmost position of the baseline for the first character.

    This can be omitted when printing data with the standard size in left justification.

    When printing a double-height character, set y to 42 or larger.

    Barcode

    Specify the lower-left position of the symbol.

    Specify the height of the barcode in y.

    Graphics/logo

    Specify the lower-left position of the graphic data.

    Specify the height of the graphic data in y.

    2D symbol

    Specify the upper-left position of the symbol. This can be omitted when printing from the upper-left position.

 

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