Skip to content

Instantly share code, notes, and snippets.

@Justintime50
Created August 19, 2024 17:43
Show Gist options
  • Save Justintime50/33037982bb224be9dbb333341d1992ef to your computer and use it in GitHub Desktop.
Save Justintime50/33037982bb224be9dbb333341d1992ef to your computer and use it in GitHub Desktop.
Print a ZPL from the CLI on macOS

Print a ZPL from the CLI on macOS

  1. Install the ZPL printer
# 2. Get the list of printers
lpstat -p -d

# 3. Print to the ZPL
lpr -P NAME_OF_PRINTER -o raw path/to/file.zpl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment