Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 233
Chapter 2 Program Instructions
SETSTDIO
Field of Application
Statement for selecting standard IN and OUT communication
channel.
Syntax SETSTDIO<nexp
1
>[,<nexp
2
>]
<nexp
1
> is the desired input/output channel:
0 = "console:"
1 = "uart1:"
2 = "uart2:"
3 = "uart3:"
4 = "centronics:"
5 = "net1:"
6 = "usb1:"
100 = autohunting enabled
<nexp
2
> optionally specifies an output channel other than the
input channel:
0 = "console:"
1 = "uart1:"
2 = "uart2:"
3 = "uart3:"
5 = "net1:"
6 = "usb1:"
100 = autohunting enabled
Remarks
The printer is usually controlled from its host computer or terminal via the
standard communication channel. By default, the serial communication
channel "uart1:" is used for both input and output. If only one channel
is speci ed, it will serve as both standard input (stdin) and standard
output (stdout) channel. Alternatively, different channels can be selected
for stdin and stdout.
For programming, it is recommended to use "uart1:" as standard input and
output channel. If another channel is selected, use the same serial channel for
both input and output. The "centronics:" channel can only be used for input
to the printer and is thus not suited for programming.
Autohunting means that all available channels are continuously scanned for
input. At startup, "uart1:" is selected as stdout. If data is received on the stdin
channel, the same channel is used as stdout channel. If no data is received
on the present stdin channel within a 2 second timeout period, the rmware
scans the other existing channels (except "console:) looking for input
data. The channel where input data is rst found will now be appointed
stdin/stdout channel. The same procedure is repeated in nitely as long
as autohunting is enabled.
There are some restrictions that apply to autohunting:
- If "centronics:" is used as input channel and autohunting is enabled for both
input and output, "uart1:" is selected stdout channel.
- Autohunting does not work with "console:".
- Autohunting does not work with COMSET or INPUT.