Programming instructions

126
Intermec Fingerprint 6.13 – Programmer's Guide
Continued!
11. PRINTING CONTROL, cont'd.
Should any problems arise, e.g. the printer stops between labels, the
image buffer is probably too small. Increase the image buffer in the
Setup Mode, lower the print speed, or make the print image easier
to process. Vertical printing (DIR 2 & 4) is more demanding for text
in regard of buffer size and processing time. If possible, design the
label so most of the text is printed horizontally (DIR 1 & 3). The
print direction does not matter so much for bar codes, lines, boxes
and images. However, ladder style bar codes (DIR 2 & 4) generally
lowers the print speed.
CLL & FIELDNO
The image buffer stores the bitmap pattern of the label layout
between processing and printing. The size of the image buffer is
decided in the Setup Mode. The image buffer can be cleared
partially or completely by means of a CLL statement.
Complete clearing is obtained by a CLL statement without any
reference to a field (see below) and is useful to avoid printing a
faulty label after certain errors have occurred.
Partial clearing is used in connection with print repetition when
only part of the label should be modified between the copies. In
this case, the CLL statement must include a reference to a field,
specified by a FIELDNO function. When a CLL statement is
executed, the image buffer will be cleared from the specified field
to the end of the program.
In this example, the text “Month” is kept in the image buffer,
whereas the names of the months are cleared from the image buffer
as soon as they are printed, one after the other:
10 FONT "SW030RSN"
20 MAG 2,2
30 PRPOS 100,300
40 PRTXT "MONTH:"
50 PRPOS 100,200
70 A%=FIELDNO
80 PRTXT "JANUARY":PRINTFEED
90 CLL A%
100 PRPOS 100,200
110 PRTXT "FEBRUARY":PRINTFEED
120 CLL A%
130 PRPOS 100,200
140 PRTXT "MARCH":PRINTFEED
150 CLL A%
RUN
5. Batch Printing, cont'd.