109
EPL Commands
GM
12/16/13 EPL Programming Guide 14245L-003 Rev. A
Example 1 •
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 (binary data) portion can be sent to the printer
using the DOS COPY command. For example, if you have a PCX file named LOGO1.PCX
in your current directory, the appropriate command would be:
COPY LOGO1.PCX PRN /b
After downloading, the GI command can be used to verify that the graphic was successfully
stored.
Example 2 •
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.
DO NOT add extra linefeeds to the STOREIT.TXT file.
Next, at the DOS prompt, type:
COPY STOREIT.TXT+WORLD.PCX PRN /b
or use the Zebra Firmware Downloader from Windows OS download the STOREIT.TXT and
WORLD.PCX in sequence to the printer.