Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7120
Chapter 2 Program Instructions
IMAGE LOAD
Field of Application
Statement for receiving, converting and installing image and font fi les.
Syntax IMAGE LOAD[<nexp
1
>,]<sexp
1
>,<nexp
2
>[,<sexp
2
>[,<nexp
3
>]]
<nexp
1
> is optionally the number of bytes to skip before starting
to read the data.
<sexp
1
> is the desired name of the image or font to be created.
<nexp
2
> is the size of the original fi le in number of bytes.
<sexp
2
> is an optional fl ag:
“S” specifi es that the image or font will be saved in the printer’s
permanent memory ("c:"). Avoid this option (slow).
An empty string ("") specifi es that the image or font will be
stored in the printer’s temporary memory ("tmp:" ).
<nexp
3
> optionally specifi es a communication channel OPENed for
INPUT by the number assigned to the device.
(Default: Std IN channel.)
Remarks
This statement prepares the printer to receive a .PCX image fi le, an image
fi le in the internal Intermec Fingerprint bitmap format, or a font fi le
on the standard IN channel (see SETSTDIO statement) or on another
communication channel OPEN for INPUT. When the fi le is received, it will
automatically be converted to an image in the internal bitmap format of
Intermec Fingerprint or to a scaleable font respectively.
The optional fi rst parameter makes it possible to use this statement in
MS-DOS (CR/LF problem).
The name of an image may consist of max. 30 characters including possible
extension. The image will have the same direction as the original image
fi le and can only be rotated 180° by means of a DIR statement. We
therefore recommend that you include the extension .1 or .2 to indicate
for which print directions the image is intended, according to the Intermec
Fingerprint conventions.
The name of font fi les is only restricted to 30 characters.
The size of the original fi le should be given in bytes according to its
size in the host.
Before IMAGE LOAD can be used on a serial channel, the setup must be
changed to 8 characters, CTS/RTS handshake. When an IMAGE LOAD
statement is executed, the execution stops and waits for the number of bytes
specifi ed in the statement to be received. During the transfer of image fi le
data to the printer, there is a 25 seconds timeout between characters. If
a new character has not been received within the timeout limit, Error 80
“Download timeout” occurs. When the specifi ed number of characters have
been received, the execution is resumed.
If the downloading was successful, the downloaded image or font will be
installed automatically and can be used without any rebooting.
Example
IMAGE LOAD "Logotype.1",400,""