Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7120
Chapter 2 Program Instructions
IMAGE LOAD
Field of Application
Statement for receiving, converting and installing image and font 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 le in number of bytes.
<sexp
2
> is an optional ag:
S speci es that the image or font will be saved in the printers
permanent memory ("c:"). Avoid this option (slow).
An empty string ("") speci es that the image or font will be
stored in the printers temporary memory ("tmp:" ).
<nexp
3
> optionally speci 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 le, an image
le in the internal Intermec Fingerprint bitmap format, or a font le
on the standard IN channel (see SETSTDIO statement) or on another
communication channel OPEN for INPUT. When the 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 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
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 les is only restricted to 30 characters.
The size of the original 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
speci ed in the statement to be received. During the transfer of image 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 speci 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,""