7
91
Input Data Format
(57) Setting the basic calculation pitch (GS P x y)
Code: [1D] h + [50] h + x + y
* (0 ≤ x ≤ FF)
(0 ≤ y ≤ FF) Data are expressed in Hex code.
This command sets the basic calculation pitch in the horizontal direction at (1/x) inch
and the basic calculation pitch in the vertical direction at (1/y) inch.
When x = 0, the horizontal basic calculation pitch returns to the initial value.
When y = 0, the vertical basic calculation pitch returns to the initial value.
• The vertical direction indicates the direction perpendicular to the paper feed direc-
tion, and the vertical direction indicates the paper feed direction.
• In the Standard mode, the parameters shown below are used without relationship
to the characters' direction (inverted, rotated 90 degrees to the right, etc.).
(1) Commands using x: ESC SP, ESC $, ESC \, FS S, GS L, GS W
(2) Commands using y: ESC 3, ESC J
• In the Page mode, the parameters shown below are used according to the charac-
ters' direction.
(1) If the starting point is “top left” or “bottom right” by ESC T, (characters are
developed in the direction perpendicular to the paper feed direction),
• Commands using x: ESC SP, ESC $, ESC W, ESC \, FS S
• Commands using y: ESC 3, ESC J, ESC W, GS $, GS \
(2) If the starting point is “bottom right” or “top left,” (characters are developed 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 \, FS S
• Even when this command is executed, it has no influence on the various values
that are already set.
• If there is a fraction as a result of calculations combined with other commands,
interpolation is carried out at the mechanism's minimum pitch and remainders are
cut off.
• The initial values are “x = 203” and “y = 203”.