Gs P X Y - Citizen PPU-231II Command Reference Manual

Citizen line thermal printer command reference manual
Table of Contents

Advertisement

GS P x y

[Function]
[Code]
[Range]
[Outline]
[Caution]
[Default]
[See Also]
Specifying the basic calculation pitch
<1D>H<50>H<x><y>
0
x
255
0
y
255
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.
• 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
• 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:
• Commands using y:
(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:
• Commands using y:
• 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.
x = 203, y = 360
ESC SP, ESC $, ESC 3, ESC J, ESC W, ESC \, GS $, GS L, GS W,
GS \
— 68 —
ESC SP, ESC $, ESC W, ESC \
ESC 3, ESC J, ESC W, GS $,GS \
ESC 3, ESC J, ESC W, GS $,GS \
ESC SP, ESC $, ESC W, ESC \

Advertisement

Table of Contents
loading

Table of Contents