1-22 Command Descriptions Rev. A
ESC \
n
L
n
H
[Name] Set relative print position
[Format} ASCII ESC \
n
L
n
H
Hex 1B 5C
n
L
n
H
Decimal 27 92
n
L
n
H
[Range] 0 ≤
n
L
≤ 255
0 ≤
n
H
≤ 255
ESC $
n
L
n
H
sets the print starting position to (
n
L
+
n
H
× 256) × (horizontal or vertical motion unit)
from the beginning of the line. When a left margin is set in standard mode, the position of the left
margin is the beginning of the line.
ESC \
n
L
n
H
moves the print starting position to (
n
L
+
n
H
× 256) × (horizontal or vertical motion unit)
from the current position. Use the complement of N for setting N pitch movement to the left: -Npitch
= 65536 – N, where (
n
L
+
n
H
× 256) = 65536 - N.
When standard mode is selected, the horizontal motion unit set by GS P is used. When page mode is
selected, the horizontal or vertical motion unit set by GS P is used for the print direction set by ESC T.
If the excessive printing area is selected, it is ignored.
ESC a n
[Name] Select justification
[Format] ASCII ESC a n
Hex 1B 61 n
Decimal 27 97 n
[Range] 0 ≤ n ≤ 2
48 ≤ n ≤ 50
Program Example Print Sample
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);
PRINT #1, "ABCD";
PRINT #1, CHR$(&H1B);"$";CHR$(90);CHR$(0);
PRINT #1, "EFGH"; CHR$(&HA);
PRINT #1, "ABCD";
PRINT #1, CHR$(&H1B);"\";CHR$(90);CHR$(0);
PRINT #1, "EFGH"; CHR$(&HA);
ABCD EFGH
90/180 inch
90/180 inch
ABCD EFGH