46
.
GS ( F PL PH a m nL nH
[Name]
Set the offset of black mark position
[Format]
ASCII
GS
( F
pL
pH
a m
nL
nH
Hex
1D
28
46
pL
pH
a m
nL
nH
Decimal
29 40 70 pL pH a m nL nH
[[Details]
• The parameters set by this command won’t be lost even without power supply.
• This command sets the black-mark control enabled and sets the offset value of the
paper cutting/tearing position or print starting position relative to the black mark sensor
position.
• Parameters of this command:
pL+(pH
×
256)
≡
4 (pL=4
,
pH=0)
a=1
,
2
;
m=0
,
48 or 1
,
49
0
≤
(nL+nH
×
256)<1700
a
indicates the offset value of paper cutting/tearing position or of print starting position:
a Function
1
Sets the offset value of the print starting position relative to
the black mark sensor position.
2
Sets the offset value of the paper cutting/tearing position
relative to the black mark sensor position.
• m=0, 48,
Sets the paper feed direction as the calculation direction of offset.
• m=1, 49,
Sets the paper reverse feed direction as the calculation direction of
offset.
• nL, nH
Sets the offset value to (nL+nH
×
256)
×
0.176mm.
•
GS FF
and
GS V
is valid only when this command is executed.
• Setting offset of the print starting position (a=1) is enabled in
GS FF
.
• Setting offset of the paper cutting/tearing position (a=2) is enabled in
GS V m
.
• Default value of
nL
and
nH
is 0, viz., when the black mark sensor senses the black
mark, the print head position corresponding to where on the paper is set as the print
starting position, and the paper cutting/tearing position corresponding to where on the
paper is set as the paper cutting/tearing position.
• Explanation of the calculation of the paper cutting/tearing position offset and print
starting position offset.
1. When the length (
L
) between paper cutting/tearing position and black mark position
is the same as the printer inherency mechanism value (
L0
), and the length (
Q
)
between print starting position and printer inherency mechanism value (
Q0
), offset
set by
GS
(
F
is 0. (Chart 1)
2. When length (L) between paper cutting/tearing position and black mark position is
less than the printer inherency mechanism value (
L0
) (Chart 2), offset set by
GS
(
F
is calculated as follows:
Paper cutting/tearing position offset = (L0
-
L)/0.176 dots
When length (L) between paper cutting/tearing position and black mark position is
larger than the printer inherency mechanism value (
L0
) (Chart 3), offset set by
GS
(
F
is calculated as follows:
Summary of Contents for D45
Page 1: ...D45 IMPRESORA DE IMPACTO ...