Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7230
Chapter 2 Program Instructions
SET FAULTY DOT
Field of Application
Statement for marking one or several dots on the printhead as faulty,
or marking all faulty dots as correct.
Syntax SET
FAULTY
DOT<nexp
1
>[,<nexp
n
>...]
<nexp
1
> is the number of the dot to be marked as faulty. Successive
executions add more faulty dots.
<nexp
1
> = -1 marks all dots as correct (default).
Remarks
This statement is closely related to the HEAD function and the BARADJUST
statement. You can check the printhead for possible faulty dots by means of
the HEAD function and mark them as faulty, using the SET FAULTY
DOT statement. Using the BARADJUST statement, you can allow the
rmware to automatically reposition horizontal bar codes sideways so
as to place the faulty dots between the bars, where no harm to the
readability will be done.
Once a number a dot has been marked faulty by a SET FAULTY DOT
statement, it will remain so until all dots are marked as correct by a SET
FAULTY DOT -1 statement.
Note that an enhancement of the HEAD function (introduced with
Intermec Fingerprint 7.3) makes it possible to mark all faulty dots
using a single instruction instead of specifying each faulty dot in a
SET FAULTY DOT.
Example
This example illustrates how a bar code is repositioned by means of
BARADJUST when a number of dots are marked as faulty by a SET
FAULTY DOTS statement. Type RUN and send various numbers of
faulty dots from the host a few times and see how the bar code moves
sideways across the label.
10 INPUT "No. of faulty dots"; A%
20 FOR B% = 1 TO A%
30 C% = C% + 1
40 SET FAULTY DOT C%
50 NEXT
60 D% = A%+2
70 BARADJUST D%, D%
80 PRPOS 0, 30
90 BARTYPE "CODE39"
100 PRBAR "ABC"
110 SET FAULTY DOT -1
120 PRINTFEED
RUN