ESC SP n
[Name]
Set right-side character spacing
[Format]
ASCII
Hex
Decimal
[Range]
0
n
255
ESC SP n sets the right-side character spacing to [n (horizontal or vertical motion unit)] inches. It is
used to change the spacing between characters. The default setting is n=0. When standard mode is
selected, the horizontal 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.
The right-side character spacing can be set independently in standard mode and in page mode.
Program Example
PRINT #1, CHR$(&H1D);"P";CHR$(160);CHR$(144);
PRINT #1, CHR$(&H1B);" ";CHR$(0);
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, CHR$(&H1B);" ";CHR$(6);
PRINT #1, "BBBBB"; CHR$(&HA);
PRINT #1, CHR$(&H1B);" ";CHR$(12);
PRINT #1, "CCCCC"; CHR$(&HA);
Rev. A
ESC
SP
n
n
1B
20
27
32
n
Character spacing set to 0
Character spacing set to 6
Character spacing set to 12
TM–U375/U375P Information Manual
Print Sample
AAAAA
0-inch right-side character spacing
BBBBB
6/160-inch right-side character spacing
C C C C C
12/160-inch right-side character spacing
Command Descriptions 1-9