Programming instructions

144
Intermec Fingerprint 6.13 – Programmer's Guide
3. LED Control Lamps
15. PRINTER FUNCTION CONTROL, cont'd.
Beside showing messages in the printer's display window (see
chapter 15.2, the program can use two of the three LED's (Light
Emitting Diodes) on the printer's front panel to notify the operator
by means of the following two statements:
LED...ON Turns the specified LED on.
LED...OFF Turns the specified LED off.
The printer's front panel contains three LED's labelled ”Power”,
”Ready” (0), and ”Error” (1):
The “Power” LED is connected to the printer's power supply and
is lit when the power is on. It cannot be controlled by the program.
The two other LED's (“Ready” and “Error”) can be programmed
at will using LED ON and LED OFF statements, even though the
printed text on the keyboard imposes certain restrictions.
Example:
In this example, the “Ready” LED (0) is lit until an error occur.
Then the “Error” LED (1) is lit instead. The “Error” LED remains
lit until the error is cleared. A suitable error can be generated by
running the program with the printhead lifted.
10 LED 0 ON
20 LED 1 OFF
30 ON ERROR GOTO 1000
40 PRPOS 100,100
50 FONT "SW030RSN"
60 MAG 3,3
70 PRTXT "OK!"
80 PRINTFEED
90 LED 0 ON
100 LED 1 OFF
110 END
1000 LED 0 OFF
1010 LED 1 ON
1020 RESUME
RUN