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.

Chapter —Program Instructions<br />

ERROR<br />

Purpose Statement for defining error messages and enabling error handling for<br />

specified error conditions (<strong>Intermec</strong> Direct Protocol only).<br />

Syntax ERROR [,]<br />

is the number of the error condition.<br />

is the desired error message.<br />

Remarks The ERROR statement can only be used in the <strong>Intermec</strong> Direct Protocol<br />

for the purpose of enabling error-handling and creating customized error<br />

messages, as described below.<br />

The built-in error-handler of the <strong>Intermec</strong> Direct Protocol will always<br />

handle the following standard errors (display message inside brackets):<br />

• 15 Font not found [Font not found]<br />

• 18 Disk full [Disk full]<br />

• 37 Cutter device not found [Cutter device not found]<br />

• 43 Memory overflow [Memory overflow]<br />

• 1003 Field out of label [Field out of label]<br />

• 1005 Out of paper [Out of paper]<br />

• 1006 No field to print [No field(s)]<br />

• 1022 Head lifted [Head lifted]<br />

• 1027 Out of transfer ribbon [Out of ribbon]<br />

• 1031 Next label not found [Label not found]<br />

• 1058 Transfer ribbon is installed [Ribbon installed]<br />

• 1606 Testfeed not done [Testfeed not done]<br />

Other errors will not be handled unless they have been specified by an<br />

ERROR statement. The number of the error should be entered according<br />

to the list of error messages at the end of this manual.<br />

The ERROR statement also allows you to edit a suitable message in any<br />

language. This message will appear in the printer’s display window if the<br />

error occurs. The error message will be truncated to 33 characters. Character<br />

No. 1-16 will appear on the upper line and character 18-33 will appear<br />

on the lower line, whereas character No. 17 always is ignored.<br />

ANSI control characters can be used in the error message string, see<br />

“Printer Function Control; Display” in the <strong>Intermec</strong> Fingerprint, Tutorial.<br />

An empty string removes any previously entered message for the error in<br />

question. Likewise, an existing message can be replaced by a new one.<br />

When a standard error or an error defined by an ERROR statement is<br />

detected, the printer sets its standard IN port to BUSY, sets the “Status”<br />

LED to red, and displays the error messages. The error message will be<br />

cleared, the LED is set to green, and the standard IN port will be set to<br />

READY when the printer’s key is pressed. In some cases, the error<br />

must also be cleared, for example by loading a fresh stock of labels.<br />

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