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

Esim
Hide thumbs Also See for EasyCoder PC4:
Table of Contents

Advertisement

GM - Store Graphics In Memory

Purpose:
Syntax:
Remarks:
ESim for the PC4 and PF8 Printer Programmer's Reference Manual
This command is used to store PCX graphic files in Flash
memory.
GM"name"p
"DATA"
1
.
GM Command Parameter Descriptions
Parameter
Description
"name"
This is the name to use when retrieving the stored
graphic (maximum of 8 characters). The printer is
case sensitive; graphic names are stored with the
exact case as entered on the GM command line.
p
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.
"DATA"
The graphics data in 1-bit (black and white) PCX
format. The resolution of the graphics must
match resolution of the printer.
The GM command saves the graphics in the Flash memory, so it
is not lost at power off. Use it for graphics that are used
frequently and do not change, such as the logo 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.
Example:
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 the DOS prompt
type:
COPY STOREIT.TXT PRN
COPY LOGO.PCX PRN .b
Chapter 7 — Commands
77

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pf8

Table of Contents