SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an HP printer that uses HPLIP and have hit a stone wall trying to install the printer using HPLP.
I tried with the printer defined to cups and also with no printer defined to cups. With the printer defined to cups, cups would not print a test page.
Either way HPLIP keeps telling me:
Quote:
Printer queue setup failed.
please restart CUPS and try again
Is this, perhaps, a priveleges problem? If so what do I need to do to correct it?
(HPLIP was installed using "slackpkg"; and yes, I verified that the mirror that was commented in /etc/slackpkg/mirrors was for a 12.2 mirror; This is the mirror:
"http://mirrors.easynews.com/linux/slackware/slackware-12.2/")
Open a terminal and run hp-setup (you may need to be root, but try it first as your normal user), also, go to http://hplipopensource.com/hplip-web/index.html and make sure that it's installed correctly.
Open a terminal and run hp-setup (you may need to be root
Yes, one must be root to runm this.
Running it from a terminal as root, I get this
Code:
No protocol specified
hp-setup: cannot connect to X server :0.0
root@abitbox:/home/gary#
If I start it from the "run" dialog box, a gui starts that is the same one I get when running "hp-toolbox" and that gives me the error in my first post.
I installed this using a freshly downloaded slackware install package; so if it's not installed correctly , then that means the slackware package has a bug in it - correct????
DELETED STUFF
Thank you for the reply;
Gary
Last edited by garyg007; 12-21-2008 at 09:16 PM.
Reason: SOME OF WHAT I POSTED WAS ALL WET --- so I deleted it , sorry
Hmmmmmm......I've had no difficulty at all running my HP Laserjet P2015 printer on Slackware 12.1 and on 12.2. Have you set the cups daemon to run at start-up? If you installed cups with the install CDs/DVD you can start-up cups.
I've got an HP printer too (HP Officejet Pro K5400dn). I've just installed cups and hplip (and gutenprint, needed for another machine). Then I've started firefox, went to localhost:631 and added my printer. It works fine.
I had problems with the graphical tool, which comes with hplip. It couldn't find my printer.
Hmmmmmm......I've had no difficulty at all running my HP Laserjet P2015 printer on Slackware 12.1 and on 12.2. Have you set the cups daemon to run at start-up? If you installed cups with the install CDs/DVD you can start-up cups.
Does the fix work better if it comes straight from Pat V.? The following still applies to 12.2:
Quote:
Slackware 12.1/CHANGES_AND_HINTS.TXT
There is a minor problem with the HPLIP and CUPS versions in Slackware 12.1;
hp-toolbox will not work unless LC_ALL is set to a UTF8 locale.
An easy workaround is to start it with "LC_ALL=$LANG.UTF8 hp-toolbox" if
you're not using a UTF8 locale. Also, your user account must be a member
of the "lp" group for hp-toolbox to work properly, and to use the scanner
portion of some (all?) HP print/scan/copy units, you'll need to be a member
of the "lp" group. This is due to the fact that hplip's udev rules set
the device with group "lp" ownership.
As for the 'lp' group, I figured you would have known that already:
Quote:
Slackware 12.2/CHANGES_AND_HINTS.TXT
HP multifunction printer/scanners require that your user account be a member
of the "lp" group for hp-toolbox to work properly, and to use the scanner
portion of some (all?) units, you'll need to be a member of the "lp" group.
This is because hplip's udev rules set the device with group "lp" ownership.
Frank
Last edited by fcaraballo; 12-22-2008 at 11:53 PM.
Adding my user to the "lp" group appeares to have done the trick.
I do not remember having any problems with it in 12.1; but then I have a difficult time remembering what I had for breakfast this morning.
Another item that may have had something to do with the problem: The premissions for rc.messagebus and rc.hald did not include "execute".
And a --for what its worth-- I tried the current version of hplip which is hplip-2.8.12; src2pkg appeared to process the source without any hiccups; and installpkg installed it ok. But trying to run
hp-setup this error was produced:
Code:
warning: Found multiple possible PPD files
Choose a PPD file that most closely matches your device:
(Note: The model number may vary slightly from the actual model number on the device.)
Num. PPD Filename Description
---- ----------------------------------------- ----------------------------------------
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 496, in <module>
mins_list = mins.keys()
AttributeError: 'tuple' object has no attribute 'keys'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.