Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zebra Printing with CUPS no print ZPL or EPL

I have a Zebra GK420d connect to OS X via CUPS. However, when I send files to it that are written in ZPL or EPL they are only printed in plain text.

Am I required to change to mode on the printer?

like image 693
Andrew Lynch Avatar asked Jul 16 '12 09:07

Andrew Lynch


2 Answers

Contrary to what others said, you don't need to specially add a raw queue.

Instead, you can submit raw files into any queue using -o raw switch:

lpr -P CupsPrinterName -o raw path/to/label.zpl

Printer name can be found over that link in CUPS:

http://localhost:631/printers/

This also works on other platforms that use CUPS, like Linux.

like image 138
sanmai Avatar answered Sep 21 '22 08:09

sanmai


You can create a raw CUPS queue with lpadmin. Here's the command line I used:

lpadmin -p Zebra -E -v usb://Zebra%20Technologies/ZTC%20LP%202824%20Plus?serial=XXXXXX -m raw

You can also set up a raw queue using the CUPS web admin at

http://127.0.0.1:631/
like image 44
Leslie Hensley Avatar answered Sep 21 '22 08:09

Leslie Hensley