Select your printer model

Parameters are refined by the selected printer.

<direction>


This element allows you to specify the print direction in the page mode.

Print direction and rotation of the print area can be specified. The starting position of the print area moves in accordance with the rotation.

Attribute

Note:

"dir" must be specified.

dir

Attribute value

Description

"left_to_right"

Prints from left to right (no rotation. The starting position is at the upper left.)

"bottom_to_top"

Prints from bottom to top (Rotate the print area counterclockwise by 90 degrees. The starting position is at the lower left.)

"right_to_left"

Prints from right to left (Rotate the print area by 180 degrees. The starting position is at the lower right.)

"top_to_bottom"

Prints from top to bottom (Rotate the print area clockwise by 90 degrees. The starting position is at the upper right.)

Sample program

Rotates the print area clockwise by 90 degrees and prints a text string "ABCDE".

 
<epos-print xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print">
	<page>
		<direction dir="top_to_bottom" />
		<text>ABCDE</text>
	</page>
</epos-print>

Supplementary explanation

This does not work in the standard mode.

 

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