Programming instructions

138
Intermec Fingerprint 6.13 – Programmer's Guide
1. Keyboard, cont'd.
15. PRINTER FUNCTION CONTROL, cont'd.
Remapping the Keyboard
The keyboards of the various printer models are fully remappable
1
,
as to allow the printer to be adapted to special applications or
national standards. Thus you can decide which two ASCII charac-
ters each key will produce, with and without the Shift key being
activated, and which key will work as Shift key. The mapping also
decides the id. numbers for the keys.
The basis of the remapping process is the position number of each
key. The numbers vary between different types of keyboards, as
illustrated below.
Note the distinction between id. numbers and position numbers!
The present keyboard mapping can be read to a string variable using
the KEYBMAP$ instruction with the following syntax:
<string variable>=KEYBMAP$(n) where....
n = 0 reads the unshifted characters.
n = 1 reads the shifted characters.
n = 2 reads the position of the Shift key.
This example reads the unshifted characters on the keyboard of an
EasyCoder 501 E. Non existing key positions get ASCII value 0:
10 PRINT "Pos","ASCII","Char."
20 A$=KEYBMAP$(0)
30 FOR B%=1 TO 64
40 C$=MID$(A$,B%,1)
50 E%=ASC(C$)
60 PRINT B%,E%,C$
70 NEXT
RUN
Continued!
1
/. There is one exception:
The single <Print> key on the Easy-
Coder 401/501 cannot be remapped.
54 59 63
6 1116212631364146
2 7 12 17 22 27 32 37 42 47 57
3 8 13 18 23 28 33 38 43 48 53 58 62
55 60 64
29 34 39 44 49
30 35 40 45 50
51 56
52 61
1
Power
ErrorReady
EasyCoder
201
IIE
31
1
6111621
32
33
34
46
42 47
52
43 48 53
44
49
54
41
56
51
1
56
6111621 31 414651
32 42 47 52
33 43 48 53
34 44 49 54