Specifications
1-10 Command Descriptions Rev. A
ESC SP n sets the right-side character spacing in [n
× (horizontal motion unit)] inches. It is used to
change the spacing between characters. The default right-side character spacing is set to 0 (n=0). The
horizontal motion unit uses the horizontal value set by the GS P command. The default value in the
horizontal direction is 1/150 inch.
ESC % n
[Name] Select/cancel user-defined character set
[Format] ASCII ESC % n
Hex 1B 25 n
Decimal 27 37 n
[Range] 0
≤ n ≤
255
ESC & y c1 c2 [x1 d1 ... d(y × x1)] ... [xk d1 ... d(y × xk)]
[Name] Define user-defined characters
[Format] ASCII ESC & y c1 c2 [x1 d1 ... d(y
×
x1)] ... [xk d1 ... d(y
×
xk)]
Hex 1B 26
y
c1 c2 [x1 d1 ... d(y
×
x1)] ... [xk d1 ... d(y
×
xk)]
Decimal 27 38 y c1 c2 [x1 d1 ... d(y
×
x1)] ... [xk d1 ... d(y
×
xk)]
[Range] y = 2
32
≤
c1
≤
c2
≤
126
0
≤
x
≤
12 (9
×
9 font)
0
≤
x
≤
9 (7
×
9 font)
0
≤
d1
...
dy
×
xk
≤
255
ESC ? n
[Name] Cancel user-defined characters
[Format] ASCII ESC ? n
Hex 1B 3F n
Decimal 27 63 n
[Range] 0
≤ n ≤
255
Program Example Print Sample
PRINT #1, CHR$(&H1D);"P";CHR$(150);CHR$(144);
PRINT #1, CHR$(&H1B);" ";CHR$(0);
←
Character spacing set to 0
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, CHR$(&H1B);" ";CHR$(6);
←
Character spacing set to 6
PRINT #1, "B B B B B"; CHR$(&HA);
PRINT #1, CHR$(&H1B);" ";CHR$(12);
←
Character spacing set to 12
PRINT #1, "CCCCC"; CHR$(&HA);
AAAAA
←
0-inch right side character spacing
BBBBB
←
6/150-inch right side character spacing
CCCCC
←
12/150-inch right side character spacing