Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7264
Chapter 2 Program Instructions
TRANSFER KERMIT
Field of Application
Statement for transferring data fi les using KERMIT communication
protocol.
Syntax TRANSFER
↔
K[ERMIT]<sexp
1
>[,<sexp
2
>[,<sexp
3
>[,sexp
4
>]]]
<sexp
1
> specifi es the direction of the transmission by the expression
"S " (= send) or "R" (= receive).
<sexp
2
> is, optionally, the name of the fi le transmitted from the printer
(default "KERMIT.FILE").
<sexp
3
> specifi es, optionally, the input device as "uart1:", "uart2:", or
"uart3:" (default: std IN channel).
<sexp
4
> specifi 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 fi 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 fi le from the printer, even if capable
of sending a fi 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 fi le at a time.
When transmitting fi les from the printer to the host, carefully observe possible
restrictions concerning the number of characters, etc. in the fi le name, that
is imposed by the operating system of the host.
When receiving a fi le, you must start the transmission within 30 seconds
from completing the TRANSFER KERMIT "R" statement. The printer will
store the fi le in the current directory "c:", "tmp:", or "card1:", see CHDIR
statement. (Obviously, fi les cannot be received into "rom:".) If there already
exists a fi le in the current directory with the same name as the one to be
transferred, the existing fi le will be replaced by the new fi le. Thus, it is up
to you to keep record of the fi les already stored in the current directory
(see FILES statement). Before transfer, give the new fi le a name that is not
already occupied by an existing fi le, unless you want to replace the existing
fi le. If you use TRANSFER KERMIT to download a font or image fi 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 fi le reception on the standard IN channel:
TRANSFER KERMIT "R"
Transmission from printer to host of the fi le "FILE1.TXT" on a channel
other than the standard OUT channel:
TRANSFER K "S","FILE1.TXT","uart2:","uart2:"