Gm Store Graphics In Memory - Intermec EasyCoder C4 Programmer's Manual

Bar code label printer
Hide thumbs Also See for EasyCoder C4:
Table of Contents

Advertisement

GM – Store Graphics in Memory
Description
Syntax
Parameters
Remarks
Example
Intermec EasyCoder C4 – Programmer's Guide Ed. 3
This command is used to store PCX graphics fi les in the Flash memory.
GM"name"p
1
"DATA"
"name"
This is the graphic 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.
p
This is the size of the original .PCX fi le in bytes. In DOS, the DIR command
1
can be used to determine the exact fi le size.
"DATA"
The graphic data in 1-bit (black & white) PCX format. The resolution of the
graphics must match the resolution of the printer..
The 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
In a DOS system, the "DATA" portion can be sent to the printer via the parallel port
using the DOS COPY command.
Let us assume you have a PCX fi le named LOGO.PCX in your current directory.
Use a text editor to create a text fi le called for example STOREIT.TXT and store it
in the same directory as the .PCX fi le:
GM"LOGO"1421
At the DOS prompt, type:
COPY STOREIT.TXT PRN
COPY LOGO.PCX PRN /b
(Stores the image in the default printer).
or...
COPY STOREIT.TXT LPT1:
COPY LOGO.PCX LPT1: /b
(Stores the image in the printer connected to port LPT1).
After downloading, the
was successfully stored. If not, check that the .PCX fi le is in 1-bit (black &
white) format and that the free graphics memory in the printer is large enough
to accommodate the graphics.
Important! Always make backup copies on the host! If you need to change the
memory allocation (see
and memory cartridge will be lost.
GI
command can be used to verify that the graphic
M
command), all formats and graphics stored in the printer
Chapter 7 Commands
GW
command.
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents