6.5.3 Character Set
ESC SP n
Code
1BH 20H n
Definition Range
Default
n = 0
Function Sets the amount of space to the right of a character.
The amount of the right space is [n × basic calculation pitch] inches.
Notes
This command does not affect 2-byte characters.
When the double width is specified, the right space becomes twice as much as the setting
value.
The right spacing can be independently set in the standard mode and the page mode.
The basic calculation pitch is set by the "Set Basic Calculation Pitch" command (GS 'P').
Moreover, once set, the right spacing is not changed even when the basic calculation pitch is
changed by the "Set Basic Calculation Pitch" command (GS 'P').
When the calculation result is a fractional figure, it is corrected using the minimum pitch of the
printer, and the remainder is discarded.
In the standard mode, the horizontal basic calculation pitch (x) is used.
In the page mode, the basic calculation pitch used is as follows depending on the starting
point.
When the starting point is specified as "upper left" or "lower right" by the "Select Print
Direction in Page Mode" command (ESC 'T'), the horizontal basic calculation pitch (x) is used.
When the starting point is specified as "upper right" or "lower left" by the "Select Print
Direction in Page Mode" command (ESC 'T'), the vertical basic calculation pitch (y) is used.
Related Commands GS 'P'
0 ≤ n ≤ 255
Character width
A
Character right space
Character height
6-21
Set Character Right Spacing