Gm Store Graphics In Memory - Intermec ESim v4.20 Programmer's Reference Manual

For easycoder c4 bar code label printer
Table of Contents

Advertisement

GM – Store Graphics in Memory
Description
Th is command is used to store PCX graphics fi les in the Flash
memory.
Syntax
GM"name"p
Parameters
"name"
p
1
"DATA"
Remarks
Th e GM command saves the graphics in the Flash memory, so
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 GW command. In a DOS system, the
"DATA" portion can be sent to the printer via the parallel port
using the DOS COPY command.
Examples
Assume you have a PCX file named LOGO.PCX in your current
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 GI command can be used to verify that the graphic was suc-
cessfully 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 M command), graphics stored in the
printer and memory cartridge will be lost.
Intermec EasyCoder ESim v4.20—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.
Chapter 7—Commands
73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents