Chapter 7—Commands
GM – Store Graphics in Memory
This command is used to store PCX graphics fi les in the Flash
Description
memory.
Syntax
GM"name"p
Parameters
"name"
p
1
"DATA"
The GM command saves the graphics in the Flash memory, so
Remarks
it will not be lost at power off. Use it for graphics that are used
frequently and do not change, for example the logotype of your
company. Compare with
"DATA" portion can be sent to the printer via the parallel port
using the DOS COPY command.
Assume you have a PCX file named LOGO.PCX in your current
Examples
directory. Use a text editor to create a text file called for example
STOREIT.TXT and store it in the same directory as the .PCX
file.
↵
GM"LOGO"1421↵
To store the image in the default printer, at the DOS prompt
type:
COPY STOREIT.TXT PRN
COPY LOGO.PCX PRN /b
To store the image in the printer connected to port LPT1, at the
DOS prompt type:
COPY STOREIT.TXT LPT1:
COPY LOGO.PCX LPT1: /b
The
successfully stored. If not, check that the .PCX file is in 1-bit
(black & white) format and that the printer's free graphics
memory is large enough to accommodate the graphics.
Always make backup copies on the host! If you change the
memory allocation (see
printer and memory cartridge will be lost.
68
Intermec EasyCoder ESim v4.00—Programmer's Reference Manual
↵"DATA"
1
This is the name that will be used when retrieving the stored graphic (max. 8
characters). The printer is case sensitive, that is, graphic names will be stored
with the exact case entered on the GM command line.
This is the size of the original .PCX fi le in bytes. In DOS, the DIR command can
be used to determine the exact fi le size.
The graphics data in 1-bit (black & white) PCX format. The resolution of the
graphics must match resolution of the printer.
GI
command can be used to verify that the graphic was
GW
command. In a DOS system, the
M
command), graphics stored in the
Need help?
Do you have a question about the EasyCoder C4 and is the answer not in the manual?