printer fault! no idea what may be wrong

Mario S. Mommer mommer at moss-clad.net
Sun Jun 4 14:21:51 PDT 2006


> Mario S. Mommer <mommer at moss-clad.net> wrote (Sunday 04 June 2006 19:41):
> > "foomatic-rip --ppd temp/foo2zjs/PPD/HP-LaserJet_1005.ppd test.ps >
> > /dev/usb/lp0"
> >
> > does indeed print the test.ps file.
>
> In this case, the device URI which is used by your CUPS for that printer
> may be at fault. What is the output of:
>
>    lpstat -v hp_LaserJet_1005_series_USB_1
>
> ? If it is *not* "/dev/usb/lp0", try to set it to that value, using
> the lpadmin command:
>
>    sudo lpadmin -p hp_LaserJet_1005_series_USB_1 -v usb:/dev/usb/lp0 -E
>
> That should help.

It doesnt. It says "Unable to open USB device "usb:/dev/usb/lp0": Success". Which I personally think is a bit of a scandal. And if you google for that, it turns out that URIs of this form are no longer supported, "largely because those device names are not stable [...]".

At this point I just uninstalled cups, and after some googling I installed lprng. It worked pretty much immediately.

I don't really know what the advantages of cups are and I don't think my experience entitles me to pass any definitive judgement. But debugability really isn't one of cups' strengths. A "printer fault!" error should produce some informative log output every time it is signalled. And yes, I had

LogLevel debug

in /etc/cups/cupsd.conf

> I'm not very familiar with USB, but if your above command worked from
> the commandline, the same USB addressing should work with CUPS too.

I agree. :-)

Thanks for your help. Even if it didn't help me directly, it got me unstuck.

Regards,
         Mario.





More information about the cups mailing list