CONFIDENTIAL
SHEET
159
NO.
SHEET
REVISION
E
TITLE
TM-H5000
II
IIII
II
series
Specification
(STANDARD)
NEXT
160
GS P
x y
[Name] Set horizontal and vertical motion units
[Format] ASCII GS P
xy
Hex 1D 50
xy
Decimal 29 80
xy
[Range] 0 £
x
£ 255
0 £
y
£ 255
[Description] Sets the horizontal and vertical motion units to approximately 25.4/
x
mm { 1/
x
inches} and approximately 25.4/
y
mm {1/
y
inches}, respectively.
When
x
and
y
are set to 0, the default setting of each value is used.
[Notes] · The command sets a line spacing for the sheet selected by the
ESC c 1
command.
· The horizontal direction is perpendicular to the paper feed direction and the
vertical direction is the paper feed direction.
· In standard mode, the following commands use
x
or
y
, regardless of character
rotation (upside-down or 90° clockwise rotation):
① Commands using
x
:
ESC SP
,
ESC $
,
ESC \
,
FS S,
GS L
,
GS W
② Commands using
y
:
ESC 3
,
ESC J
,
ESC K
,
GS V
· In page mode, the following command use
x
or
y
, depending on character
orientation:
① When the print starting position is set to the upper left or lower right of the
printing area using
ESC T
(data is buffered 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 V
,
GS \
② When the print starting position is set to the upper right or lower left of the
printing area using
ESC T
(data is buffered in the paper feed direction):
Commands using
x
:
ESC 3
,
ESC J
,
ESC W
,
GS $
,
GS \
,
GS V
Commands using
y
:
ESC SP
,
ESC $
,
ESC W
,
ESC \
,
GS V, FS S
· The command does not affect the previously specified values.
· The calculated result from combining this command with others is truncated to
the minimum value of the mechanical pitch.
· The horizontal and vertical motion unit for paper roll can be set by 1/360 unit,
but the printer actually operates based on the minimum value of the mechanical
pitch (1/180).
[Default] Receipt
x
= 180,
y
= 360
Slip
x
= 150,
y
= 144
[Reference]
ESC SP
,
ESC $
,
ESC 3
,
ESC J
,
ESC K
,
ESC W
,
ESC \
,
GS $
,
GS L
,
GS V
,
GS
W
,
GS \
,
ESC c 1
,
FS S