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

Esim v5.12 bar code label printer
Hide thumbs Also See for EasyCoder PD4:
Table of Contents

Advertisement

Chapter —Commands
GM – Store Graphics in Memory
This command is used to store PCX graphics files in the user
Description
flash memory.
Syntax 
GM"name"p
Parameters
"name"
p
1
"DATA"
The GM command saves the graphics in the user flash memory,
Remarks
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! EasyCoder PD4 has
a flash memory for forms and graphics, which requires special
consideration. Avoid storing frequently changing data in flash
and use printer drivers developed for EasyCoder C4 and PD4.
2
ESim v5.12 for EasyCoder PD4—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 file in bytes. In DOS, the DIR command can
be used to determine the exact file size.
The graphics data in 1-bit (black & white) PCX format. The resolution of the
graphics must match resolution of the printer.

Advertisement

Table of Contents
loading

Table of Contents