SPRT
27
·
Using the following command to set the offset of tearing paper
GS
(
F<4><0><2><0><79><1>
·
Calculation for the offset of initial print position
(
39-23
)
0.176=91 dots
·
Using the following command to set the offset of initial print position
GS
(
F<4><0><1><0><91><0>
·
After finishing the aforesaid setting , when print every receipt the
command to be used is the same as example 1.
Notice:
1. Under the situation that the offset of tearing paper position and initial
print position both are 0, it is possible to finish the localization print of
each receipt by using GS V m command only.
2. So long as the offset of tearing paper position is not 0, it needs to set the
offset of tearing paper position
(
a=2
)
and the offset of initial print
position
(
a=1
)
respectively by using GS
(
F command.
3.
Only after have set the initial print position, the paper can be fed to the
initial print position by using GS FF, otherwise may appear the situation
that the localization is inaccurate or empty a receipt.
4. When altered the offset that have been set last time with GS (F
command, may appear the situation that the localization is inaccurate or
empty a receipt when print the first receipt, but the receipt that will print
afterwards is correct.
GS FF Send Black Mark Paper to Initial Print Position
Format: ASCII
:
GS FF
Decimal: 29
12
Hexadecimal: 1D 0C
Explanation:
This command is valid only under the condition allowed by black mark
localization control. Test black mark and feed the paper forwards to the
initial print position that set by GS
(
F(a=1) command. When the black
mark paper is already at the current initial print position, then don’t feed
paper.