Intermec PX6i Fingerprint Developer's Guide (old) - Page 124
Controlling the Printer, Intermec Fingerprint Developer's Guide, check
View all Intermec PX6i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 124 highlights
Chapter 7 - Controlling the Printer BARADJUST enables the firmware to track all faulty dots, and relocates the bar code so the spaces between the bars are lined up with the faulty dots. This way, you can print bar code labels immediately without loss of quality, although the printhead should still be replaced. Note: The BARADJUST statement cannot be used for ladder bar codes, stacked bar codes such as Code 16K, bar codes with horizontal lines such as DUN-14, EAN/UPC bar codes, or two-dimensional bar codes such as PDF417. The next example lists a program that checks the printhead for faulty dots and warns the operator when a faulty dot is encountered. Pending printhead replacement, the bar code is repositioned to ensure continued readability. Such a program takes a few seconds to execute (there may be more than a thousand dots to check), so it is advisable either to restrict the dot check to the part of the printhead that corresponds to the location of the bar code, or to perform the test at startup only. 10 20 30 40 50 60 1000 1010 1020 1030 1040 1050 1060 1070 1080 1090 1100 2000 2010 2020 9000 9010 9020 9030 9040 9050 9060 OPEN "console:" FOR OUTPUT AS 10 IF HEAD(-1)0 THEN GOTO 9000 BEEP:D1$="Printhead Error!":D2$="":GOSUB 2000 GOSUB 1000 BARADJUST 20,20 GOTO 9000 FUNCTEST "HEAD",TMP$ A$=":" : TMP%=INSTR(TMP$,A$)+1 RETURN SET FAULTY DOT -1 QMEAN%=HEAD(-7) QMIN%=QMEAN%*85\100 QMAX%=QMEAN%*115\100 FOR I%=0 TO WHEAD%-1 QHEAD%=HEAD(I%) IF QHEAD%>QMAX% OR QHEAD%