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.

FORMAT INPUT<br />

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

Chapter —Program Instructions<br />

Purpose Statement for specifying separators for the LAYOUT RUN statement used<br />

in the <strong>Intermec</strong> Direct Protocol.<br />

Syntax FORMAT INPUT[,[,[,]]]<br />

is the start -of-text separator, default STX (ASCII 02 dec.).<br />

is the end-of-text separator, default EOT (ASCII 04 dec.).<br />

is the field separator, default CR (ASCII 13 dec.).<br />

is a string of characters to be filtered out.<br />

Remarks The LAYOUT RUN statement is used in the <strong>Intermec</strong> Direct Protocol to<br />

transmit variable data to a predefined layout. By default, the string of input<br />

data to the various layout fields starts with a STX character and ends with<br />

a EOT character. The various fields are separated by CR (carriage return)<br />

characters.<br />

To provide full compatibility with various protocols and computer systems,<br />

these separators can be changed at will by means of the FORMAT INPUT<br />

statement. Each separator can have a maximum length of 10 characters.<br />

As an option, it is possible to specify a string of max. 10 characters to be<br />

filtered out. By default, the string is empty and will be reset to default if a<br />

new FORMAT INPUT with less than four arguments is issued.<br />

There is a timeout if ETX is not found within 60 seconds after STX has<br />

been received.<br />

Always execute the FORMAT INPUT statement in the Immediate Mode.<br />

If you are using the <strong>Intermec</strong> Direct Protocol, exit it using an INPUT<br />

OFF statement before changing the separators using a FORMAT INPUT<br />

statement. Then you can enter the <strong>Intermec</strong> Direct Protocol again using an<br />

INPUT ON statement.<br />

An error will occur if you, for some reason, issue a FORMAT INPUT<br />

statement where one, two or three separators are identical to those already<br />

in effect without leaving the <strong>Intermec</strong> Direct Protocol.<br />

If a certain separating character cannot be produced by the keyboard of the<br />

host, use a CHR$ function to specify the character by its ASCII value.<br />

The separators are stored in the temporary memory and must to be transmitted<br />

to the printer after each power-up.<br />

Example Changing the start-of-text separator to #, the end-of-text separator to LF<br />

(linefeed), and the field separator to @ after having temporarily switched<br />

to the Immediate Mode.<br />

INPUT OFF ↵<br />

FORMAT INPUT "#",CHR(10),"@" ↵<br />

INPUT ON ↵

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

Saved successfully!

Ooh no, something went wrong!