GM Command - Store Graphics

Example: GK"LOGO1"↵

:deletes graphic “LOGO1” - Required

GK"LOGO1"↵

:second delete graphic - Required

GM"LOGO1"584↵

:Prepares printer to receive graphic

 

:“LOGO1”

DATA

: Data string in PCX format

If using a DOS system, the PCX format file (bi- nary data) portion can be sent to the printer us- ing the DOS COPY command. For example, if you have a PCX file named LOGO1.PCX in your current directory, the appropriate com- mand would be:

COPY LOGO1.PCX PRN /b

After downloading, the GI command can be used to verify that the graphic was successfully stored.

Example: First, create a text file “STOREIT.TXT” with an ASCII text editor, as follows:

￿

GK“WORLD”￿

GK“WORLD”￿

GM"WORLD"2004￿

Where WORLD is the name of the graphic and 2004 is the size (in bytes) of the PCX file.

Next, at the DOS prompt, type:

COPY STOREIT.TXT + WORLD.PCX PRN /b

980352-001 Rev.A

3-51

Page 69
Image 69
Zebra Technologies EPL2 manual Copy LOGO1.PCX PRN /b, Next, at the DOS prompt, type