Programmer’s Guide
TH200
52
GS P x y
Set horizontal and vertical motion units
Code:
Range:
Description:
Notes:
Default:
Reference:
ASCII
GS
P
x y
Hex
1D
50
x y
Decimal 29
80
x y
0
≤
x
≤
255
0
≤
y
≤
255
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.
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.
x = 203, y = 180
ESC SP
,
ESC $
,
ESC 3
,
ESC J
,
ESC W
,
ESC \
,
GS $
,
GS L
,
GS V
,
GS W
,
GS \
Summary of Contents for TH200
Page 1: ...TH200 High Speed Thermal Printer Programmer s Guide TH200 March 2005 ...
Page 19: ...Programmer s Guide TH200 19 When font B 9 17 is selected ...
Page 21: ...Programmer s Guide TH200 21 When 24 dot bit image is selected ...
Page 73: ...Programmer s Guide TH200 73 pattern 3 2 PAGE1 Katakana ...
Page 74: ...Programmer s Guide TH200 74 3 3 Page 2 PC850 Multilingual ...
Page 75: ...Programmer s Guide TH200 75 3 4 Page 3 PC860 Portuguese ...
Page 76: ...Programmer s Guide TH200 76 3 5 Page 4 PC863 Canadian French ...
Page 77: ...Programmer s Guide TH200 77 3 6 Page 5 PC865 Nordic ...
Page 78: ...Programmer s Guide TH200 78 3 7 Page 18 PC852 Latin2 ...
Page 79: ...Programmer s Guide TH200 79 3 8 Page 19 PC858 ...
Page 80: ...Programmer s Guide TH200 80 3 9 Page 16 WPC1252 ...
Page 81: ...Programmer s Guide TH200 81 3 10 Page 17 PC866 Cyrillic 2 ...
Page 82: ...Programmer s Guide TH200 82 3 11 Thai character code 11 ...
Page 83: ...Programmer s Guide TH200 83 3 12 International Character Set ...