Sending ZPL Commands to the Printer
For your programming, do the following:
1. Set up the printer and turn the power on.
2. Use any word processor or text editor capable of creating ASCII-only
files (for example, Microsoft Word® and save as a .txt file) and type in
the label format exactly as shown in the sample label format that
follows.
3. Save the file in a directory for future use. Use the “.zpl” extension.
4. Copy the file to the printer.
From the DOS command window, use the “COPY” command to send a
file to the Zebra printer. For example, if your file name is format1.zpl
then type, “COPY FORMAT 1.ZPL XXXX”, where “XXXX” is the
port to which your Zebra printer is connected, for example, “LPT1.”
5. Compare your results with those shown. If your printout does not look
like the one shown, confirm that the file you created is identical to the
format shown, then repeat the printing procedure. If nothing prints,
refer to the “Getting Started” on page 7 to make sure your system is set
up correctly, otherwise refer to the “Troubleshooting” on page 61.
46 980476-001A