EC-PM-530B User's Manual
- 72 -
[Example 3] Bill requirement: Bill length is 150mm, cutting /tearing position is 142mm from the black
mark position, and beginning print-position is 32mm from the cutting/tearing position.
z
Calculating the cutting /tearing position offset
As the distance between the black mark and the cutting/tearing position is greater than L
0
(67mm), therefore, cutting /tearing position offset = (67+150-142)/0.176=426 points.
z
Using the following command to set the cutting /tearing position offset
1D 28 46 <4> <0> <2> <0> <AA> <1>
z
Calculating the beginning print-position offset
(32-29)/0.176+426=443 points
z
Using the following command to set the beginning print-position offset
1D 28 46 <4> <0> <1> <0> <BB> <1>
z
After finishing the above setting, using the same command as example 1 and example 2
when printing every bill.
GS
r
Transmit printer status
Format: ASCII: GS
r n
Decimal: 29 114 n
Hex: 1D
72
n
[Description]
This command is effective at serial interface.
If n=1 or n=49, paper status is returned. If there is paper, the bit2, 3 of the returned byte is 0; if there is no
Cutting/tearing position
Black mark detector
Cutting/tearing position
ABCDEFG
BCDEFGH
L=
142
Q=
32
Note: 1. As long as the cutting/tearing position offset isn’t 0, use GS ( F command to set
the cutting/tearing position offset (a=2) and beginning print-position offset (a=1)
respectively.
2. Only after setting the beginning print-position could use the GS FF command to
feed paper to the beginning print-position, or else, it may detect the wrong
position or feed paper one page without printing anything.
3. After using GS ( F command to change the previous offset, it may detect the
wrong position or feed paper one page without printing anything in the first bill
printing, but it will be correct in the following bill printing.
EC Electronics, Ltd.
www.eclinepos.com
EC Electronics, Ltd
No. 221 Wai Yip Street, Kwun Tong
Kowloon, Hong Kong
TEL : (852) 3590 6397
FAX : (852) 3590 6497
E-MAIL : [email protected]
Содержание EC-PM-530B Series
Страница 1: ...User s Manual EC PM 530B Series Printer...