02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter —Program Instructions<br />

KEY ON/OFF<br />

Purpose Statement enabling or disabling a specified key on the printer’s front panel<br />

to be used in connection with an ON KEY...GOSUB statement.<br />

Syntax KEY()OFF|ON<br />

is the id. number of one of the keys on the printer’s front panel<br />

OFF|ON disables|enables the specified key.<br />

Remarks Using an ON KEY... GOSUB statement, any key (except the key)<br />

can be assigned to make the program branch to a subroutine. The keys are<br />

enabled/disabled individually and are specified by means of their respective<br />

id. numbers in unshifted and/or shifted position, see Appendix A. To<br />

specify a shifted key, add 100 to the unshifted id. number the key.<br />

The EasyCoder PD41 only has one button, with id.number 17. The<br />

button generates event 117 when released.<br />

Please note the difference between the id. numbers of the keys and the<br />

ASCII values they are able to produce (see KEYBMAP$).<br />

Example In this example, the �/F1 key (id. No. 10) is first enabled, then used for<br />

branching to a subroutine and finally disabled.<br />

10 KEY (10) ON<br />

20 ON KEY (10) GOSUB 1000<br />

30 KEY (10) OFF<br />

1 <strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!