Select your printer model

Parameters are refined by the selected printer.

<direction>


Specifies the print direction in the page mode.

It rotates the print area by specifying the print direction. The start point of the print area moves along with rotation.

Attribute

dir

Attribute value

Description

“left_to_right”

Left to right (Not rotated. Prints rightward from the upper-left point as the origin.)

“bottom_to_top”

Bottom to top (Rotated counterclockwise by 90 degrees. Prints upward from the lower-left point as the origin.)

“right_to_left”

Right to left (Rotated by 180 degrees. Prints leftward from the lower-right point as the origin.)

“top_to_bottom”

Top to bottom (Rotated clockwise by 90 degrees. Prints downward from the upper-right point as the origin.)

Sample program

  • Rotates the print area clockwise by 90 degrees and prints "ABCDE.”
  •  
    <page>
    <direction dir="top_to_bottom" />
    <text>ABCDE</text>
    </page>
    

Supplementary explanation

  • This element does not work in the standard mode.
  • The dir attribute is 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