Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7  41
Chapter 2 Program Instructions
CLL
Field of Application
 Statement for partial or complete clearing of the print image buffer.
Syntax CLL [<nexp>]
<nexp> optionally specifi es the fi eld from which the print image 
buffer should be cleared.
Remarks
 The print image buffer is used to store the printable image after processing 
awaiting the printing to be executed. The buffer can be cleared, partially or 
completely, by the use of a CLL statement:
  - CLL<nexp> partially clears the buffer from a specifi ed fi eld to the end of 
the program. The fi eld is specifi ed by a FIELDNO function. 
      Partial clearing is useful in connection with print repetition. To avoid 
superfl uous reprocessing, one or several fi elds can be erased from the 
buffer and be replaced by other information, while the remaining parts 
of the label are retained in the buffer.
       Note that there must be no changes in the layout between the PRINTFEED 
and the CLL statements, or else the layout will be lost. Also note that 
partial clearing always starts from the end, which means that the fi elds 
which are executed last are cleared fi rst.
 -   CLL (without any fi eld number) clears the buffer completely. 
      When certain error conditions have occurred, it is useful to be able to 
clear the print image buffer without having to print a faulty label. Should 
the error be attended to, without the image buffer being cleared, there is 
a risk that the correct image will be printed on top of the erroneous 
one on the same label. It is therefore advisable to include a CLL 
statement in your error-handling subroutines, when you are working 
with more complicated programs, in which all implications may be 
diffi cult to grasp.
Examples
 Partial clearing:
 Two labels are printed, each with two lines of text. After the fi rst label is 
printed, the last line is cleared from the print image buffer and a new line is 
added in its place on the second label:
  10   PRPOS 100,300
  20   FONT "Swiss 721 BT"
  30   PRTXT "HAPPY"
  40   A%=FIELDNO
  50   PRPOS 100,250
  60   PRTXT "NEW YEAR!"
  70   PRINTFEED
  80   CLL A%
  90   PRPOS 100,250
  100   PRTXT "BIRTHDAY!"
  110   PRINTFEED
  RUN










