Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 247
Chapter 2 Program Instructions
STORE IMAGE
Field of Application
Statement for setting up parameters for storing an image in the
printer’s memory.
Syntax STORE
↔
IMAGE [RLL] [KILL]<sexp
1
>,<nexp
1
>,<nexp
2
>,[<nexp
3
>],<sexp
2
>
[RLL] optionally indicates RLL compression.
[KILL] optionally specifi es that the image will be erased from the
temporary memory at startup (recommended).
<sexp
1
> is the name of the image (max 30 char. incl. extension).
<nexp
1
> is the width of the image in bits (=dots).
<nexp
2
> is the height of the image in bits (=dots).
[<nexp
3
>] is the size of the images in bytes (RLL only).
<sexp
2
> is the name of the protocol: "INTELHEX"
"UBI00"
"UBI01"
"UBI02"
"UBI03"
"UBI10"
Remarks
The name of the protocol must be entered in one sequence (for example
"INTELHEX"). Upper- or lowercase letter can be used at will. Refer
to the Chapter 3, “Image Transfer” for more information on the syntax
of the protocols.
STORE IMAGE RLL is used when the image to be received is compressed
into RLL format. In this case the size of the image must be included in
the list of parameters (<nexp
3
>).
STORE IMAGE KILL implies that the image will be stored in the printer’s
temporary memory, which is erased at power off or REBOOT. It is strongly
recommended to use this option to improve the performance. If you need to
store the image permanently, copy it from the temporary memory ("tmp:") to
the permanent memory ("c:") after the download is completed.
A STORE IMAGE statement must precede any STORE INPUT statement.
Example
This example shows how an Intelhex fi le is received via the standard input
channel and stored in the printer’s temporary memory:
10 STORE OFF
20 INPUT "Name:", N$
30 INPUT "Width:", W%
40 INPUT "Height:", H%
50 INPUT "Protocol:", P$
60 STORE IMAGE N$, W%, H%, P$
70 INPUT "", F$
80 STORE F$
90 IF MID$(F$,8,2,)<>"01" THEN GOTO 70
100 STORE OFF