17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

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.

FORMAT INPUT<br />

Chapter 2 Program Instructions<br />

Field of Application Statement for specifying separators for the LAYOUT RUN statement<br />

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

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

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

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

you are using the <strong>Intermec</strong> Direct Protocol, exit it by means of an INPUT OFF<br />

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

Then you can enter the <strong>Intermec</strong> Direct Protocol again by means of an INPUT<br />

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

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

the Immediate Mode.<br />

INPUT OFF ↵<br />

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

INPUT ON ↵<br />

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

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

Saved successfully!

Ooh no, something went wrong!