EC-520 User’s Manual
GS
(
F Set offset of black mark for printing and cutting position
Format: ASCII: GS
(
F pL pH
a m nL nH
Decimal: 29 40
70
pL
pH
a
m
nL
nH
Hex: 1D
28
46
pL
pH
a
m
nL
nH
[Description]
The parameters set by this command will be valid even after the printer is restarted.
This command is used for selecting permission of orientation control by black mark and used for
setting the beginning print-position offset or tearing/cutting position offset from black mark. This value
is calculated by dots number.
The parameters of this command are shown as follows:
pL+
(
pH×256
)
=4, that is: pL=4, pH=0
1
≤
a
≤
3,
m=0, 48
0
≤
(
nL+nH×256
)
< 1700
C=29mm
A=67mm
Figure 7-1
z
a: set the different offset
a function
1
Set the beginning print-position offset from the black mark
2
Set the beginning tearing/cutting position offset from the black mark
3
Set the beginning print-position offset from the cutter
z
m=0 or m=48, calculate the offset in the feed direction;
z
nL
、
nH: The distance of offset is (nL+nH
×
256)
×
0.176mm; when a=3, 0
≤
nL
≤
246; nH=0.
z
nL=nH=0,when the black mark was detected, the current print head’s position on the bill is the
beginning print-position that is set, and the tearing/cutting position of the current bill is the
tearing/cutting position that is set.
z
Calculation explanation for the tearing/cutting position offset and the beginning print-position
offset is shown as follows:
1. When the distance L of the tearing/cutting position offset from the black mark is same with
the inherent mechanical value L
0
of the printer, and the distance Q of the tearing/cutting
position offset from the beginning print-position is same with the inherent mechanical value
Q
0
of the printer (shown as figure 7-2), all the offset value set by “GS
(
F” command is 0.
- 32 -