View Single Post
  #1   (View Single Post)  
Old 18th May 2008
nihonto nihonto is offline
Fdisk Soldier
Join Date: May 2008
Posts: 65
Default Cups + USB-Printer

Hi there,

since OpenBSD 4.3 the Gutenprint drivers are available and yesterday I have tried to install Cups with Gutenprint on my Epson C42UX inkjet printer (an older, cheap model that runs with Cups and Gutenprint perfectly under Debian).

I've installed cups and ghostscript, exchanged ghostscript and installed ghostscript-cups (via "pkg_add -r") and then, as last step, I've installed Gutenprint and Gutenprint-Cups.

In the Browserinterface (localhost:631) I could choose the driver for my printer and everything looked perfect.

But when I try to print a testpage nothing happens at the printer. A look into /var/log/cups/error-log shows:

I [18/May/2008:12:19:58 +0200] Started "/usr/local/libexec/cups/cgi-bin/printers
.cgi" (pid=8809)
I [18/May/2008:12:19:58 +0200] Adding start banner page "none" to job 10.
I [18/May/2008:12:19:58 +0200] Adding end banner page "none" to job 10.
I [18/May/2008:12:19:58 +0200] Job 10 queued on "C42UX" by "root".
I [18/May/2008:12:19:58 +0200] Started filter /usr/local/libexec/cups/filter/pst
ops (PID 24141) for job 10.
I [18/May/2008:12:19:58 +0200] Started filter /usr/local/libexec/cups/filter/pst
oraster (PID 16550) for job 10.
I [18/May/2008:12:19:58 +0200] Started filter /usr/local/libexec/cups/filter/ras
tertogutenprint.5.0 (PID 23904) for job 10.
I [18/May/2008:12:19:58 +0200] Started backend /usr/local/libexec/cups/backend/u
sb (PID 10678) for job 10.
E [18/May/2008:12:19:58 +0200] PID 10678 (/usr/local/libexec/cups/backend/usb) s
topped with status 1!
I [18/May/2008:12:19:58 +0200] Hint: Try setting the LogLevel to "debug" to find
out more.
E [18/May/2008:12:19:58 +0200] [Job 10] Unable to open USB device "usb:/dev/ulpt
0": Permission denied
When I look for "ls -l /dev/ulpt0" it shows:

# ls -l /dev/ulpt0
crw-rw---- 1 root wheel 64, 0 Apr 17 23:53 /dev/ulpt0
My user is member of the group "wheel"

And when I try out "chmod 666 /dev/ulpt0" the printer starts printing nonsense (a clutter of letters and symbols).

So, what have I done wrong or which step is missing?
Reply With Quote