How to Configure ZPL Label Printing

To print using the ZPL format, first set your default label format to ZPL in your Shippo settings. See "Navigating the Labels Page" for details. 


ZPL Printing for Mac users

On a Mac, you can use the command line to send jobs to your printer.

Run this command to see a list of your attached printer names:

$ lpstat -p -d

 

This command will bring up a list of attached printer names that you can use with subsequent commands. You can send the ZPL file directly to the printer with the following command. Many printers will automatically choose the right settings for you.

$ lpr -P PRINTER_NAME -o raw FILENAME.zpl

 

Most printers automatically choose the right settings for you. Some printer types need additional configuration, like page size and margins. Get printer-specific options by running:

$ lpoptions -p PRINTER_NAME -l

 

Depending on the options listed, your command might end up looking something like this:

$ lpr -P PRINTER_NAME -o media=Custom.4x6in -o page-left=0 -o page-top=0 -o page-bottom=0 FILENAME.zpl

 

If you're printing a significant volume, Zebra printers are the better option. ZPL label files are much smaller (ASCII format), easier to move around, natively supported by carriers, and multi-page printing works more smoothly. If you're struggling with a Dymo printer, consider switching to a Zebra GK or GX 420d.


ZPL Printing for Windows users

  Note: On Windows, communicating with a printer gets complicated unless you're already familiar with the Windows printer libraries in C or C#.

 

To print using ZPL format on Windows:

  1. Go to the Zebra website and search for your Zebra printer model.

    Screen Shot 2019-05-20 at 10.25.58 AM.jpeg
     
  2. In the search results, click the line titled "Printer Support."
     
    Screen Shot 2019-05-20 at 10.27.48 AM.jpeg
     
  3. Click Drivers, then click Download for the latest available Zebra driver for Windows.

    Screen Shot 2019-05-20 at 10.28.42 AM.jpeg

    Screen Shot 2019-05-20 at 10.30.04 AM.jpeg
     
  4. Click Accept and Begin Download Now.

    Screen Shot 2019-05-20 at 10.31.00 AM.jpeg
     
  5. After downloading, open the Zdesigner software and click Open Communication with Printer.

    Screen Shot 2019-05-20 at 10.31.37 AM.jpeg
     
  6. Click the Open File icon and select a ZPL label file from your computer.

    Screen Shot 2019-05-20 at 10.38.48 AM.jpeg
     
  7. Click Send to Printer.

    Screen Shot 2019-05-20 at 10.39.22 AM.jpeg
Was this article helpful?

Related articles