Programming instructions
70
Intermec Fingerprint 6.13 – Programmer's Guide
7. INPUT TO FINGERPRINT, cont'd.
6. Input from Printer's
Keyboard, cont'd.
The printable characters actually generated by the respective ASCII
value depend on the selected character set (NASC) and possible
MAP statements, see chapter 9.1.
In case of INPUT# and LINE INPUT#, the input will not be
accepted until a carriage return (< Enter >) is issued.
This example demonstrates how the printable character and deci-
mal ASCII value of various keys on the printer's keyboard can be
printed to the screen of the host. You can break the program by
holding down the <C> key and pressing <Pause>.
10 PRINT "Character", "ASCII value"
20 OPEN "console:" FOR INPUT AS 1
30 A$=INPUT$(1,1)
40 B%=ASC(A$)
50 PRINT A$, B%
60 GOTO 30
70 CLOSE 1
RUN