Skip to content

Print a ZPL file

To print a ZPL file, send its text unchanged to a Zebra printer over USB or port 9100 on the network. On a normal printer, which doesn't understand ZPL, convert it to PDF first. Check the label above before you print.

Your label

Preview

100%

On a Zebra over the network

Printers listen on port 9100 and print whatever ZPL arrives. From a terminal: nc 192.168.1.50 9100 < label.zpl. Replace the address with your printer's.

On a Zebra over USB on Windows

Share the printer in Windows, then copy the file to it: copy /b label.zpl \\localhost\Zebra. The /b matters: it sends the bytes untouched. The driver's own print dialog would turn the text into a picture of the text.

On a normal printer

An office printer would print the ZPL as text. Press Download PDF above and print that PDF at 100%. It works for a test or an occasional label; for real runs, labels on a roll are cheaper and sharper.

On Rollo, Munbyn and other non-Zebra thermal printers

Many low-cost 4 × 6 printers, such as Rollo, Munbyn, iDPRT, HPRT or Xprinter, don't understand ZPL, or only part of it: they print the file as text or print nothing. Download the PDF above and print it at 100% through the printer's own driver. If your printer takes TSPL commands, ZPL to TSPL converts the label.

On a Mac

macOS can't send a raw ZPL file to a printer from the print dialog, which is why Amazon and others say ZPL isn't supported on Mac. Convert to PDF here and print the PDF.

From the browser

Zebra Browser Print is a small program from Zebra that lets a web page reach a printer on your computer. Without it, a browser can only print through the normal print dialog, which is why the direct routes above are more reliable.

Questions

Is it free?

Yes: preview and download one file at a time with all its labels, without an account, with no daily limit and no watermark. Paid plans add batches of files, the API and support.

Can I print without a Zebra printer?

Yes: convert the ZPL to PDF and print that. See [ZPL to PDF](/zpl-to-pdf/).

Why does my printer print the code as text?

It isn't in ZPL mode, or it's a printer that doesn't speak ZPL. On a Zebra, check the printer language setting.

Related

Need something we don't have yet?

A connector for your system, a label format or a new tool: tell us what you use and we'll look at building it.

Request a tool or integration
Feedback