Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 97
Chapter 2 Program Instructions
FORMAT INPUT
Field of Application
Statement for specifying separators for the LAYOUT RUN statement
used in the Intermec Direct Protocol.
Syntax FORMAT INPUT<sexp
1
>[,<sexp
2
>[,<sexp
3
>[,<sexp
4
>]]]
<sexp
1
> is the start -of-text separator, default STX (ASCII 02 dec.).
<sexp
2
> is the end-of-text separator, default EOT (ASCII 04 dec.).
<sexp
3
> is the fi eld separator, default CR (ASCII 13 dec.).
<sexp
4
> is a string of characters to be fi ltered out.
Remarks
The LAYOUT RUN statement is used in the Intermec Direct Protocol
to transmit variable data to a predefi ned layout. By default, the string
of input data to the various layout fi elds starts with a STX character
and ends with a EOT character. The various fi elds are separated by CR
(carriage return) characters.
To provide full compatibility with various protocols and computer systems,
these separators can be changed at will by means of the FORMAT
INPUT statement. Each separator can have a maximum length of 10
characters.
As an option, it is possible to specify a string of max. 10 characters to be
fi ltered out. By default, the string is empty and will be reset to default if a new
FORMAT INPUT with less than four arguments is issued.
There is a timeout if ETX is not found within 60 seconds after STX
has been received.
Always execute the FORMAT INPUT statement in the Immediate Mode. If
you are using the Intermec Direct Protocol, exit it by means of an INPUT
OFF statement before changing the separators using a FORMAT INPUT
statement. Then you can enter the Intermec Direct Protocol again by means
of an INPUT ON statement.
An error will occur if you, for some reason, issue a FORMAT INPUT
statement where one, two or three separators are identical to those already in
effect without leaving the Intermec Direct Protocol.
If a certain separating character cannot be produced by the keyboard of the host,
use a CHR$ function to specify the character by its ASCII value.
The separators are stored in the temporary memory and must to be transmitted
to the printer after each power-up.
Example
Changing the start-of-text separator to #, the end-of-text separator to LF
(linefeed), and the fi eld separator to @ after having temporarily switched
to the Immediate Mode.
INPUT OFF ↵
FORMAT INPUT "#",CHR(10),"@" ↵
INPUT ON ↵