17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ON KEY GOSUB<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for branching to a subroutine when a specified key on the<br />

printer's front panel is activated.<br />

Syntax ON KEY()GOSUB|<br />

↔<br />

is the i.d. number of one of the keys on the printer's front panel<br />

(see illustration below).<br />

/ is the number or label of the line to which the program will<br />

branch when the specified key is pressed down.<br />

Remarks All <strong>Intermec</strong> Fingerprint 7.2 compatible printer models are fitted with a<br />

membrane keyboard. Each key can be enabled individually using its i.d.<br />

number in a KEY ON statement. Then the key can be assigned, alone or in<br />

combination with the key, to make the program branch to a<br />

subroutine using an ON KEY... GOSUB statement. The key adds<br />

100 to the unshifted i.d. number of each key, as illustrated below.<br />

Please note the difference between the i.d. numbers of the keys and the ASCII<br />

values they are able to produce (see e.g. BREAK).<br />

Note that BREAK takes precedence over any ON KEY statement, provided<br />

that break interrupt is not disabled for the "console:" by a BREAK 0 OFF<br />

statement.<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 161

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

Saved successfully!

Ooh no, something went wrong!