ESC/ P Command Reference

Table Of Contents
ESC $ Specify absolute horizont
al position
[ASCII] ESC $ n1 n2
[Decimal] 27 36 n1 n2
[Hexadecimal] 1B 24 n1 n2
[Parameters] 0n1255 ,0n2255
[Description]
Specifies in dots the absolute print position for the next data.
An absolute print position specifies the next print position as the number of dots from
the left margin.
n1 and n2 indicate the number of dots from the left margin. (Number of dots = n1 +
256*n2)
The dot spacing is calculated as 1/300 inch.
The maximum number of dots that can be specified with n1 and n2 depends on the
media.
This command is available only with left alignment.
ESC \ Specify relative horizontal position
[ASCII] ESC \ n1 n2
[Decimal] 27 92 n1 n2
[Hexadecimal] 1B 5C n1 n2
[Parameters] 0n1255,0n2255
[Description]
Specifies in dots the horizontal print position as a relative position from the current
position.
A relative position specifies the next print position as the number of dots from the
current position.
n1 and n2 indicate the number of dots from the current position. (Number of dots = n1 +
256*n2)
The dot spacing is calculated as 1/300 inch.
Left margin position horizontal position after moving < right margin position
Horizontal position after moving = n1 + n2*256
The specified value for moving to the left is expressed as the 2's complement. It is
determined by the following equation.
n1 + n2 * 256 = 65536 - distance of actual movement
49
This comma
nd is available only with left alignment.