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

Create successful ePaper yourself

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

LED ON/OFF<br />

Purpose Statement for controlling the dual-color “Status” indicator.<br />

Syntax LEDON|OFF|BLINK [,DATAIN]<br />

Chapter —Program Instructions<br />

specifies the color of the Status indicator:<br />

0 controls the green LED (default ON).<br />

1 controls the red LED (default OFF)<br />

Remarks All present <strong>Intermec</strong> Fingerprint printers are equipped with three LED<br />

(Light Emitting Diode) control lamps on the front panel. The center one<br />

of the LEDs (normally marked “Status” on the keyboard overlay) can be<br />

used to indicate, for example, when an error occurs, when the printer is<br />

ready, or when data is received.<br />

Under the Direct Protocol, the “Status” LED starts blinking green, when<br />

data are received on the standard input channel, and switches to solid<br />

green, when the channel has been silent for 0.8 seconds. Under the Direct<br />

Protocol, the Status LED may also be affected by the error handler, see<br />

ERROR statement.<br />

BLINK mode means that the “Status” LED is lit for 0.4 seconds at an<br />

interval of 0.4 seconds.<br />

If the DATA IN flag is set with the BLINK mode, reception of data on the<br />

standard input channel controls whether the “Status” LED shall blink or<br />

be switched off, exactly as the behavior under the Direct Protocol.<br />

If you set LED 0 ON and LED 1 ON, the “Status” LED will get solid red.<br />

Note: If the printer has a console that does not includes the blue <strong>Intermec</strong><br />

Ready-to-Work Indicator, please refer to <strong>Intermec</strong> Fingerprint v8.10,<br />

<strong>Programmer's</strong> <strong>Reference</strong> <strong>Manual</strong> for a description of the LED ON/OFF<br />

statement.<br />

Example In this example, the “Status” LED will be solid red if you, for example,<br />

attempt to run the program with a raised printhead. Lower the printhead<br />

and a label will be fed out. The “Status” LED switches to solid green.<br />

10 LED 0 ON<br />

20 LED 1 OFF<br />

30 ON ERROR GOTO 1000<br />

40 PRPOS 30,300<br />

50 FONT "Swiss 721 BT"<br />

60 PRTXT "OK!"<br />

70 PRINTFEED<br />

80 LED 0 ON<br />

90 LED 1 OFF<br />

100 END<br />

.....<br />

.....<br />

1000 LED 0 OFF<br />

1010 LED 1 ON<br />

1020 RESUME<br />

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

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

Saved successfully!

Ooh no, something went wrong!