Specifications
1-8 Command Descriptions Rev. A
ESC 2
[Name] Select 1/6-inch line spacing
[Format] ASCII ESC 2
Hex 1B 32
Decimal 27 50
ESC 3 n
[Name] Set line spacing
[Format] ASCII ESC 3 n
Hex 1B 33 n
Decimal 27 51 n
[Range] 0 ≤
n
≤ 255
ESC 2 sets the line spacing to 1/6 inch. This is equivalent to 12 dots.
ESC 3 n sets the line spacing to [n × (vertical motion unit)] inches. The default setting of the 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 C n
[Name] Set slip paper eject length
[Format] ASCII ESC C n
Hex 1B 43 n
Decimal 27 67 n
[Range] 0 ≤
n
≤ 255
Program Example Print Sample
PRINT #1, CHR$(&H1D);"P";CHR$(150);CHR$(144);
PRINT #1, CHR$(&H1B);"c1";CHR$(4);
←
Select paper type for command settings
FOR n=10 TO 60 STEP 10
PRINT #1, CHR$(&H1B);"3";CHR$(n);
PRINT #1, "AAAAA"; CHR$(&HA);
NEXT n
PRINT #1, CHR$(&H1B);"2";
PRINT #1, "B B B B B"; CHR$(&HA);
PRINT #1, "CCCCC"; CHR$(&HA);
AAAAA
AAAAA
AAAAA
AAAAA
AAAAA
AAAAA
BBBBB
CCCCC
10/144-inch (5-dot) line spacing
20/144-inch (10-dot) line spacing
30/144-inch (15-dot) line spacing
40/144-inch (20-dot) line spacing
50/144-inch (25-dot) line spacing
60/144-inch (30-dot) line spacing
1/6-inch (12-dot) line spacing