Miscellaneous Function Commands
The TM-U375/U375P supports the following miscellaneous function commands:
Command
Name
GS P
Set horizontal and vertical motion units
ESC @
Initialize printer
GS E
Select head control method
Transmit printer ID
GS I
ESC p
Generate pulse
ESC =
Select peripheral device
ESC L
Select page mode
DLE ENQ
Real-time request to printer
GS P x y
[Name]
Set horizontal and vertical motion units
[Format]
ASCII
Hex
Decimal
x
[Range]
0
255
0
y
255
GS P x y sets the horizontal and vertical motion units to 1/x and 1/y inches, respectively. The
horizontal and vertical motion units indicate the minimum pitch used for calculating the values of
related commands (shown below). The default values are x=160 and y=144. The calculated result
when using this command with other commands is truncated to the minimum value of the
mechanical pitch (1/160 inch horizontal and 1/144 inch vertical) or an exact multiple of that
minimum value. When x and y are set to 0, the default setting of each value is used.
Commands used with the horizontal motion unit (1/x) in standard mode: ESC SP, ESC $, ESC W,
ESC /, GS L, and GS W.
Commands used with the vertical motion unit (1/y ) in standard mode: ESC 3, ESC J, and ESC W.
1-42 Command Descriptions
GS
P
x
1D
50
x
29
80
x
y
y
y
Rev. A