- 38 -
ESC SP n
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310
support model PMU2XXX
[Function] Setting the right spacing of the character
[Code] <1B>H<20>H<n>
[Range] 0n255
[Outline] [The specification which is common to the model]
Sets the right spacing of character to [n×basic calculation pitch] inches.
[Caution] • If the horizontal magnification of character is 2 or more, the right spacing increases with the
magnification.
• Does not affect Kanji.
• The right spacing can be set separately for the STANDARD and PAGE MODES.
• The basic calculation pitch is set by GS P. Once defined, the right spacing is not changed if the
basic calculation pitch is changed by GS P.
• Fractions resulting from calculation are corrected with the minimum pitch of the mechanism, and
the remainder is omitted.
• In STANDARD MODE, this command uses the horizontal basic calculation pitch (x).
• In PAGE MODE, the basic calculation pitch used by this command depends on the start point:
(1) If the start point specified by ESC T is top left or bottom right, the command uses the
horizontal basic calculation pitch (x).
(2) If the start point specified by ESC T is top right or bottom left, the command uses the vertical
basic calculation pitch (y).
• The maximum right spacing is capable of approximately 31.906 mm (255/203 inches). A setting
greater than this maximum is trimmed to the maximum.
[Default] n=0
[See Also] GS P
[Sample Program] [Print Results]
LPRINT CHR$(&H1B);" "; CHR$(0);
LPRINT "AAAAA"; CHR$(&HA); AAAAA
0-dot s
p
ac
e
1-dot s
p
ac
e
12-dots space
LPRINT CHR$(&H1B);" "; CHR$(1);
LPRINT "AAAAA"; CHR$(&HA);
LPRINT CHR$(&H1B);" "; CHR$(12);
LPRINT "AAAAA"; CHR$(&HA);