Programming instructions
145
Intermec Fingerprint 6.13 – Programmer's Guide
4. Buzzer
15. PRINTER FUNCTION CONTROL, cont'd.
In addition to the visual signals given by means of the display and
the LED control lamps (see chapter 15.2 and 15.3), audible signals
can also be initiated by the program execution in order to notify the
operator.
The following instructions can be used:
BEEP Initiates a short signal of fixed frequency
and duration.
SOUND Initiates a signal vith variable frequency
and duration.
The printer is provided with a buzzer fitted on the CPU board. The
buzzer can be controlled by either a BEEP statement, which gives
a short shrill signal (≈800 Hz for 0.25 sec.), or by a SOUND
statement, which allows you to vary both the frequency and
duration. You can even compose your own melodies, if your
musical ear is not too sensitive!
In this example, a warning signal is emitted from the buzzer e.g.
when the error “printhead lifted” occurs and keeps sounding until
the error is cleared. A short beep indicates that the printer is OK.
10 ON ERROR GOTO 1000
20 PRPOS 100,100
30 FONT "SW030RSN"
40 MAG 3,3
50 PRTXT "OK!"
60 PRINTFEED : BEEP
70 END
1000 SOUND 880,25 : SOUND 988,25 : SOUND 30000,10
1010 RESUME
RUN