![Partner RP-100-300II Programing Manual Download Page 39](http://html.mh-extra.com/html/partner/rp-100-300ii/rp-100-300ii_programing-manual_760670039.webp)
-------------Thermal Printer-------------
38
GS P x y (*)
[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] 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.
[Details] · 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.
[Default] x=180, y=360
[Reference]
ESC SP, ESC $ , ESC 3, ESC J, ESC W, ESC \,GS $, GS L, GS V, GS W, GS\
① GS V m ②GS V m n
[Name] Select cut mode and cut paper
[Format] ①ASCII GS V m
Hex 1D 56 m
Decimal 29 86 m
②ASCII GS V m n
Hex 1D 56 m n
Decimal 29 86 m n
[Range] ①m=1,49
②m=66,0≤n≤255
[Description] Selects a mode for cutting paper and executes paper cutting. The value of m selects the mode as
follows:
[Details for ① and ②]
·This command is effective only processed at the beginning of a line.
[Details for ①] ·Only the
partial cut is available; there is no full cut.
[Details for ②] ·When n = 0, the printer feeds the paper to the cutting position and cuts it.
·When n = 0, the printer feeds the paper to (cutting po [ n X vertical motion unit]) and
m
Print mode
0,1,49
Partial cut (one point left uncut)
66
Feeds paper (cutting position + [
n
X(vertical motion unit)]), and cuts the paper
partially (one point left uncut).