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 />

BREAK<br />

Purpose Statement specifying a break interrupt character separately for the keyboard<br />

and each serial communication channel.<br />

Syntax BREAK,<br />

is one of the following devices:<br />

0 = "console:"<br />

1 = "uart1:"<br />

2 = "uart2:"<br />

3 = "uart3:"<br />

7 = "uart4:"<br />

8 = "uart5"<br />

is the decimal ASCII value for the break interrupt character.<br />

Default: Comm. channels: ASCII 03 decimal<br />

Console: ASCII 158 decimal ( + )<br />

Remarks The execution of a program can be interrupted using a method specified<br />

by the BREAK statement. In addition, the printing of a batch of labels can<br />

also be interrupted and resumed by pressing the or the <br />

key on the printer’s front panel.<br />

To issue a break interrupt, by default, hold down the key and press<br />

the key. Together these keys will produce the ASCII character 158<br />

decimal (128 + 30), see Appendix A.<br />

It is not possible to perform a break from the console on the PD41 printer.<br />

It is possible to remap the keyboard, which may affect the keys used for<br />

break interrupt. Please refer to the variable KEYBMAP$.<br />

Another method is to transmit the character ASCII 03 decimal (default)<br />

to the printer on one of the serial communication channels. The execution<br />

will be interrupted regardless of any INPUT waiting (that is, INPUT [#],<br />

LINE INPUT [#], and INPUT$).<br />

The BREAK statement allows you to specify other ways of interrupting<br />

the execution, for example by pressing another combination of keys on the<br />

printer’s keyboard or transmitting another ASCII character from the host.<br />

A specified break interrupt character is saved in the temporary memory<br />

until the printer is restarted or REBOOTed, which may be confusing for<br />

example when switching between programs. To change a break interrupt<br />

character, specify a new one for the same device using a BREAK statement<br />

and to remove it from memory, use a BREAK OFF statement.<br />

The use of break interrupt is enabled or disabled separately for each device<br />

by BREAK ON or BREAK OFF statements. By default, break interrupt<br />

on the "console:" is enabled, while break interrupt on any of the communication<br />

channels is disabled.<br />

8 <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!