This is mostly a list for my own purposes, but I got a Eltron/Zebra LP2844 to print raw files generated on my Mac to send over USB.
First, you need to find the device URI:
$ /usr/libexec/cups/backend/usb direct usb://Zebra/LP2844?serial=42J094403339 "Zebra LP2844" "Zebra LP2844" "SERN:42J094403339;MFG:Zebra ;CMD:None;MDL:LP2844 ;" ""
Add the printer to CUPS, accept, and enable it:
$ lpadmin -p zebra -v usb://Zebra/LP2844?serial=42J094403339 $ cupsaccept zebra $ cupsenable zebra
(cupsaccept is for Mac, “accept” works on all other flavors of UNIX.)
Try a test:
$ lpr -P zebra test.raw
UPDATE:
If you are just on Mac, you can actually add it through the System Preferences. Add the EPL printer via Print & Scan, click the plus to add the printer, click on the printer, and search and select EPL2 as the driver.
To print raw EPL commands, first find the command line name of the printer. List all printers via this command:
$ lpstat -t printer local_gx420d is idle. enabled since Fri Jan 20 04:34:52 2012 printer Zebra_LP2844 is idle. enabled since Fri Jan 20 04:36:28 2012
If Zebra_LP2844 was the printer you just added, then use this command to print:
$ lpr -P Zebra_LP2844 -o raw eplfilename.raw