ramonlopes / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

jzebra sending raw commands as postscript instead of EPL2 #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Preface: I am using jzebra in the Clojure programming language, but this 
shouldn't have any effect on the functionality

When I send a job using the PrintRaw functionality, ubuntu reports the type of 
print as postscript. This results in either a blank page printing out, or 
nothing happening at all. If I pipe the same EPL2 data into the lpr -o raw 
command, it prints as expected.

The printer in question is a Zebra LP 2844 provided by FedEx.

I'm running this on Ubuntu 12.04, with the provided CUPS Zebra EPL2 driver.

Original issue reported on code.google.com by tomina...@gmail.com on 15 Oct 2012 at 5:09

GoogleCodeExporter commented 8 years ago
I just discovered that the same happens on mac os x 10.8.2, so it's probably 
related to how CUPS handles things

Original comment by tomina...@gmail.com on 15 Oct 2012 at 5:23

GoogleCodeExporter commented 8 years ago
How closely did you follow the tutorial for setting up the print queue?

http://code.google.com/p/jzebra/wiki/TutorialRawUbuntu
http://code.google.com/p/jzebra/wiki/TutorialRawOSX

USB printers have been causing some problems on newer versions of OSX lately 
(with some success) with this exact problem, but I was unaware this was 
happening to Ubuntu.  This will help many others, so any details you can offer 
on a resolution are great (jZebra writes to the device as the OS sees it, so 
it's technically not a jZebra issue, but the project will benefit from the 
issue's resolution, so I'll leave it open for a while).

-Tres

Original comment by tres.fin...@gmail.com on 15 Oct 2012 at 9:09

GoogleCodeExporter commented 8 years ago
Thanks Tres. I followed both tutorials to the letter and they both seem to be 
trying to convert it to postscript, so it definitely has to be CUPS. I'll have 
a fiddle around and report back if I find anything.

Original comment by tomina...@gmail.com on 15 Oct 2012 at 10:22

GoogleCodeExporter commented 8 years ago
Just an update on the situation. We purchased a new printer (which was the plan 
anyway) that has networking. Specifically the Zebra GK420t. It had the same 
issue with USB, and funnily enough over the network if you used the standard 
Apple Zebra drivers. Once I set it up with the raw queue, it worked beautifully.

Original comment by tomina...@gmail.com on 25 Oct 2012 at 5:21

GoogleCodeExporter commented 8 years ago
Thanks for the update.  This is good news.  Leaving bug open as a reminder to 
create a workaround for this using the cups lpr raw command.

Original comment by tres.fin...@gmail.com on 25 Oct 2012 at 11:41

GoogleCodeExporter commented 8 years ago

Original comment by tres.fin...@gmail.com on 14 May 2013 at 1:29