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.

BREAK, <strong>cont'd</strong>.<br />

Chapter 2 Program Instructions<br />

Remarks, <strong>cont'd</strong>. A specified break interrupt character is saved in the temporary memory until<br />

the printer is restarted or REBOOTed, which may be confusing e.g. when<br />

changing between programs. To change a break interrupt character, specify<br />

a new one for the same device using a BREAK statement and to remove it<br />

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

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

channels is disabled.<br />

It is strongly recommended to include some facility for issuing a break<br />

interrupt from the host computer in startup (autoexec) files. If not, you may<br />

find yourself with an erroneous program running in a loop without being able<br />

to break it!<br />

Examples In this example, the ASCII character 127 decimal is selected and enabled as<br />

BREAK character on the communication channel "uart1:":<br />

10 BREAK 1,127<br />

20 BREAK 1 ON<br />

.....<br />

.....<br />

.....<br />

In next example, BREAK characters are specified for both the keyboard<br />

("console:") and the serial communication channel "uart1:". The loop can<br />

be interrupted either by pressing the key usually marked “F1” on the printer's<br />

keyboard, or by typing an uppercase X on the keyboard of the host:<br />

10 BREAK 0,1:BREAK 1,88<br />

20 BREAK 0 ON:BREAK 1 ON<br />

30 GOTO 30<br />

RUN<br />

Reset BREAK to default by turning the printer off and on.<br />

In the <strong>Intermec</strong> Direct Protocol or the Immediate Mode, you can break the<br />

printing of a batch of labels. This example shows how the key on<br />

the printer's built-in keyboard is used for that purpose:<br />

BREAK 0,30:BREAK 0 ON:FT "Swiss 721 BT":<br />

PT"HELLO":PF 10 ↵<br />

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

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

Saved successfully!

Ooh no, something went wrong!