Hp-setup fails to add printer (was: libusb)
On Fri, 07 Oct 2011 14:23:07 +1000, Weaver wrote:
(changing the subject line to reflect the new direction of the thread)
> On Thu, 6 Oct 2011 14:49:24 +0000 (UTC) Camaleón <noelamac@gmail.com>
> wrote:
>
> <snip>
>
>> >> libusb++-dev
>
> O.K., I've installed libusb-dev, but also libcupsimage2-dev which is
> also required
(...)
> ...and from there, the install runs without a hitch, including disabling
> and enabling any conflicting or required packages along the way:
Good :-)
> and providing the option to unplug and replug the usb printer connection
> or providing the option for a restart, to register the printer. Until it
> hands over to hp-setup, where I get everything going right - the printer
> is recognised automagically, the driver is right there in the repository
> (hp-deskjet_2000_j210_series-hpijs.ppd.gz), but when I hit 'Add Printer'
> in the final stage, I get a pop-up:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "Printer queue setup failed.
> Could not connect to CUPS Server Is user added to "lpadmin" group(s)"
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ..and when I hit 'enter' from
> there, I get returned to the Desktop 'user' prompt. An abort. That looks
> like a permissions issue.
I assume you are already a member of "lpadmin" group, right?
If so, re-check CUPS settings ("/etc/cups/*.conf") and try again.
> Further, when I attempt, as root, to call up hp-setup to configure it
> that way, I get:
(...)
To run GUI based applications from root, try better with "gksu hp-setup".
> I tried to resolve the permissions issue, but I'm just getting into CLI
> and couldn't make heads or tails of anything. I tried all sorts of
> command combinations for a period of about a week, but the computer
> basically said 'Go away, you're too stupid and I don't want to deal with
> you'.
Nope, computer just tells you how it feels but you need to interpret its
emotions. As we are still far away from a HAL-alike human-machine
interaction we receive fuzzy messages... sometimes O:-)
> As lpadmin doesn't seem to be a package, as such, I'm unable to use a
> gui file manager like Thunar and change permissions through 'properties'
> which is how I've been doing it up till now.
I don't think it's a permissions issue.
> I wouldn't have a clue about the other situation. Where to from here?
> Regards and thanks,
That's why I suggested in first place to try with Debian's stock hplip
package (and in the event it does not work, opening a bug report), it is
ready-to-use and easier to deal with ;-)
Greetings,
--
Camaleón
Reply to: