http://www.woosim.com
70
6
6
.
.
1
1
0
0
.
.
M
M
i
i
s
s
c
c
e
e
l
l
l
l
a
a
n
n
e
e
o
o
u
u
s
s
f
f
u
u
n
n
c
c
t
t
i
i
o
o
n
n
c
c
o
o
m
m
m
m
a
a
n
n
d
d
s
s
The
PORTI-W40
supports the following miscellaneous function commands;
C
C
o
o
m
m
m
m
a
a
n
n
d
d
N
N
a
a
m
m
e
e
GS P
Set
horizontal
and
vertical motion units
ESC @
Initialize printer
ESC L
Select page mode
ESC S
Select standard mode
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 inch) and approximately 25.4/y mm(1/y inch), respectively.
When x and y are set to 0, the default setting of each value is used.
[Notes]
1) The horizontal direction is perpendicular to the paper feed direction and
the vertical direction is the paper feed direction.
2) In standard mode, the following commands use x or y, regardless of
character rotation (upside-down).
Command using x : ESC SP, ESC $, ESC \, GS L, GS W
Command using y : ESC 3, ESC J
3) 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);
Command using x : ESC SP, ESC $, ESC W, ESC \
Command using y : ESC 3, ESC J, ESC W, GS $, GS \
When the print starting position is set to the upper right or lower left of the