Specifications
1-6 Command Descriptions Rev. A
ESC J n
[Name] Print and feed paper
[Format] ASCII ESC J n
Hex 1B 4A n
Decimal 27 74 n
[Range] 0 ≤ n ≤ 255
ESC J n prints the data in the print buffer and feeds the paper [n × (vertical or horizontal motion unit)]
inches. This command is used to temporarily feed a specific length without changing the line spacing
set by other commands. The maximum paper feed amount is 40 inches. When standard mode is
selected, the vertical motion unit set by GS P is used. When page mode is selected, the vertical or
horizontal motion unit set by GS P is used for the print direction set by ESC T.
ESC d n
[Name] Print and feed n lines
[Format] ASCII ESC d n
Hex 1B 64 n
Decimal 27 100 n
[Range] 0 ≤ n ≤ 255
ESC d n prints the data in the print buffer and feeds n lines. The amount of paper fed per line is based
on the value set using the line spacing command. The maximum paper feed amount is 40 inches. The
default setting of the paper feed amount is 1/6 inch.
Program Example Print Sample
PRINT #1, CHR$(&H1D);"P";CHR$(160);CHR$(144);
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, "BBBBB"; CHR$(&H1B);"J";CHR$(72);
PRINT #1, "CCCCC"; CHR$(&HA);
PRINT #1, "DDDDD"; CHR$(&HA);
Program Example Print Sample
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, "BBBBB"; CHR$(&H1B);"d";CHR$(6);
PRINT #1, "CCCCC"; CHR$(&HA);
AAAAA
BBBBB
CCCCC
ESC d used to print one line and
advance the paper by six lines
AAAAA
BBBBB
CCCCC
DDDDD
ESC J used to print one l ine a nd advance
the paper by 72/144 inch