Esc Sp N ( Setting The Right Spacing Of The Character ) - Citizen CT-S280 Command Reference Manual

Line thermal printer
Hide thumbs Also See for CT-S280:
Table of Contents

Advertisement

ESC SP n
[Function]
[Code]
[Range]
[Outline]
[Caution]
• The basic calculation pitch is set by GS P. Once defined, the right spacing is not
[Default]
[See Also]
[Sample Program]
[Print Results]
Setting the right spacing of the character
<1B>H<20>H<n>
0≤n≤255
Sets the right spacing of character to [n x basic calculation pitch] inches.
• 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.
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.
n = 0
GS P
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);
AAAAA
0-dot space
A A A A A
1-dot space
A A A A A
12-dots space
- 17 -

Advertisement

Table of Contents
loading

Table of Contents