
Thermal Printer Technical Manual
44
3
0
00
0
Not used.
4
0
00
0
Fixed value is 0
5
-
-
-
Undefined.
6
-
-
-
Undefined.
7
0
00
0
Fixed value is 0
[Notes]
When 1 ≤ n ≤ 3 or 49 ≤ n ≤ 51, the printer returns to single-byte ID
When 65 ≤ n ≤ 69, return the following format:
Header information: Hexadecimal = 5FH / Decimal = 95 (1 byte)
Data: Printer Information
NUL: Hexadecimal = 00H / Decimal = 0 (1 byte)
GS P x y Set horizontal and vertical motion units
[Name]
Set horizontal and vertical motion units
[Format]
ASCII
GS
P
x y
Hex
1D
50
x y
Decimal
29
80
x y
[Range]
0 ≤ x ≤ 255
0 ≤ y ≤255
[Description]
Set the horizontal and vertical motion units to approximately 25.4/x mm { 1/xinches} 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 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, 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 \, GS V
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 \
Commands using y: ESC SP, ESC $, ESC W, ESC \,FS S, GS V
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.
One inch equals 25.4mm.
[Default]
x = 203
,
y = 203, When a mobile unit is a printed dot. The horizontal distance of 1/8mm, the
vertical distance of 1/8mm.
[Reference]
ESC SP, ESC $, ESC 3, ESC J, ESC W, ESC \, GS $, GS L, GS V, GS W, GS \