— 108 —
GS P x y
[Function] Specifying the basic calculation pitch
[Code] <1D>H<50>H<x><y>
[Range] 0 x 255
0 y 255
[Outline] This command sets the horizontal basic calculation pitch to
approx. 25.4/x mm (1/x inches), and the vertical basic calculation
pitch to approx. 25.4/y mm (1/y inches).
• If x = 0, the horizontal basic calculation pitch is reverted to the
default value.
• If y = 0, the vertical basic calculation pitch is reverted to the
default value.
[Caution] •The horizontal direction is defined as the direction
perpendicular to the paper feed, and the vertical direction is
defined as the paper feed direction.
• In STANDARD MODE, the following parameters are used
regardless of the character orientation (e.g. inverted or 90°-
right-turned).
(1)Commands using x: ESC SP, ESC $, ESC \, GS L,
GS W
(2)Commands using y: ESC 3, ESC J, GS V
• In PAGE MODE, the parameters used depend on the character
orientation, as follows:
(1)If the start point specified by ESC T is the top left or bottom
right (The characters are mapped in the direction
perpendicular to the paper feed):
• Commands using x: ESC SP, ESC $, ESC W, ESC \
• Commands using y: ESC 3, ESC J, ESC W, GS $, GS \, GS V
(2) If the start point specified by ESC T is the top right or bottom
left (The characters are mapped in the paper feed direction):
• Commands using x: ESC 3, ESC J, ESC W, GS $, GS \
• Commands using y: ESC SP, ESC $, ESC W, ESC \, GS V
• This command does not affect any other values that are already
set.
• If calculations made in combination with another command
generate fractions, the fractions are corrected with the
minimum pitch of the mechanism, and the remainder is
omitted.
[Default] x = 203, y = 360
[See Also] “PAGE MODE” in APPENDIX 1
ESC SP, ESC $, ESC 3, ESC J, ESC W, ESC \, GS $, GS L, GS W,
GS \, GS V