Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7264
Chapter 2 Program Instructions
TRANSFER KERMIT
Field of Application
Statement for transferring data les using KERMIT communication
protocol.
Syntax TRANSFER
K[ERMIT]<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 "KERMIT.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
Kermit is a protocol for serial binary transfer of a complete le between for
example a PC and a printer. Kermit is included in Windows HyperTerminal
and in many other communication programs.
Warning, tests have shown that Microsoft Windows Terminal, versions
3.0 and 3.1, is unable to receive a le from the printer, even if capable
of sending a le to the printer.
Consult the application program manual or the reference volume Kermit
-A File Transfer Protocol" by Frank da Cruz (Digital Press 1987, ISBN
0-932376-88-6).
TRANSFER KERMIT 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 KERMIT "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 KERMIT 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 KERMIT "R"
Transmission from printer to host of the le "FILE1.TXT" on a channel
other than the standard OUT channel:
TRANSFER K "S","FILE1.TXT","uart2:","uart2:"