Citizen CT-S300 Printer User Manual


 
13
ESC SP n
[Function] Setting the right spacing of the character
[Code] <1B>H<20>H<n>
[Range] 0 n 255
[Outline] 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]
LPRINT CHR$(&H1B);" ";CHR$(0);
LPRINT "AAAAA";CHR$(&HA);
LPRINT CHR$(&H1B);" ";CHR$(1);
LPRINT "AAAAA";CHR$(&HA);
LPRINT CHR$(&H1B);" ";CHR$(12);
LPRINT "AAAAA";CHR$(&HA);
[Print Results]
AAAAA ← 0-dot space
AAAAA ← 1-dot space
AAAAA ← 12-dots space