Specifications
1-6 Command Descriptions Rev. A
The vertical motion unit uses the vertical value set by the GS P command. The default value in the
vertical direction is 1/144 inch.
ESC K n
[Name] Print and reverse feed
[Format] ASCII ESC K n
Hex 1B 4B n
Decimal 27 75 n
[Range] 0 ≤
n
≤ 255
ESC K n prints the data in the print buffer and feeds the paper [n × (vertical motion unit)] inches in
the reverse direction. This command is used to temporarily feed a specific length without changing
the line spacing set by other commands. In the reverse direction, the maximum paper feed amount is
1/6 inch. The vertical motion unit uses the vertical value set by the GS P command. The default
value in the vertical direction is 1/144 inch.
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
Program Example Print Sample
PRINT #1, CHR$(&H1D);"P";CHR$(150);CHR$(144);
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, "B B B B B "; CHR$(&H1B);"J";CHR$(72);
PRINT #1, "CCCCC"; CHR$(&HA);
PRINT #1, "DDDDD"; CHR$(&HA);
AAAAA
BBBBB
CCCCC
DDDDD
Program Example Print Sample
PRINT #1, CHR$(&H1D);"P";CHR$(150);CHR$(144); AAAAACCCCC
BBBBB
ESC K used to print one line and then reverse
feed the paper by 24/144 inch
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, "BBBBB"; CHR$(&H1B);"K";CHR$(24);
PRINT #1, " CCCCC"; CHR$(&HA);
ESC J used to print one line and then advance the
paper by 72/144 inch