Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7266
Chapter 2 Program Instructions
TRANSFER ZMODEM
Field of Application
Statement for transferring data les using ZMODEM communication
protocol.
Syntax TRANSFER
Z[MODEM]<sexp
1
>[,<sexp
2
>[,<sexp
3
>[,sexp
4
>]]]
<sexp
1
> speci es the direction of the transmission by the expression
"S " (= send) or "R" (= receive).
<sexp
2
> is, optionally, the name of the le transmitted from the printer
(default "ZMODEM.FILE").
<sexp
3
> speci es, optionally, the input device as "uart1:", "uart2:", or
"uart3:" (default: std IN channel).
<sexp
4
> speci es, optionally, the output device as "uart1:", "uart2:", or
"uart3:" (default: std OUT channel).
Remarks
ZMODEM is a protocol for serial transfer of a complete le between
for example a PC and a printer. For more information on the ZMODEM
protocol, please refer to http://www.omen.com. Related instructions are
RZ (receive data using the ZMODEM protocol) and SZ (send data using
the ZMODEM protocol).
TRANSFER ZMODEM can only handle one single le at a time.
When transmitting les from the printer to the host, carefully observe
possible restrictions concerning the number of characters etc. in the le name,
that is imposed by the operating system of the host.
When receiving a le, you must start the transmission within 30 seconds
from completing the TRANSFER ZMODEM "R" statement. The printer
will store the le in the current directory "c:", "tmp:", or "card1:", see
CHDIR statement. (Obviously, les cannot be received into "rom:".) If there
already exists a le in the current directory with the same name as the one
to be transferred, the existing le will be replaced by the new le. Thus, it is
up to you to keep record of the les already stored in the current directory
(see FILES statement). Before transfer, give the new le a name that is not
already occupied by an existing le, unless you want to replace the existing
le. If you use TRANSFER ZMODEM to download a font or image le,
the font or image will automatically be installed after the downloading is
completed without any need for a reboot.
Examples
Setting up the printer for le reception on the standard IN channel:
TRANSFER ZMODEM "R"
Transmission from printer to host of the le "FILE1.TXT" on a channel
other than the standard OUT channel:
TRANSFER Z "S","FILE1.TXT","uart2:","uart2:"