Sample ZPL II Label Formats

ZPL II ® is Zebra Technologies Corporation’s Zebra Programming Language II label design language. ZPL II lets you create a wide variety of labels from the simple to the very complex, including text, bar codes, and graphics.

This section contains four sample label formats for you to begin experimenting with. It is not intended as an introduction to ZPL II. It is strongly suggested that new ZPL II users order a copy of the ZPL II Programming Guide (part# 46530L) or download it at http://support.zebra.com and select the Documentation Button.

For each format, 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 (ex: Microsoft Wordand save as a .txt file) and type in the label format exactly as shown in the sample label format that follow.

3.Save the file in a directory for future use. Use the extension “ .zpl”.

4.Copy the file to the Zebra R-140 printer.

NOTE: Typically, computers running DOS 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, “COM1" or ”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” section to make sure your system is set up correctly, otherwise refer to the “Troubleshooting and Diagnostics” section.

Zebra R-140 User’s Guide

109