Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-11-2006, 03:22 PM
|
#1
|
LQ Newbie
Registered: Aug 2006
Posts: 5
Rep:
|
Slackware + HPLIP
Hello
I recently purchased a HP Deskjet 5440 which works properly with cups and foomatic. However, I want to use hplip so I can use the tools to maintain the printer. I installed hplip according to other Slackware users and the instructions of the drivers website. There seems to be a problem for hplip to detect the printer. When I use hp-setup to setup the printer, the output is:
HP Linux Imaging and Printing System (ver. 1.6.7)
Printer/Fax Setup Utility ver. 2.1
Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
error: No devices found.
error: Error occured during interactive mode. Exiting.
Cups detects the printer with the usb backend, however for hplip I have to use the hp backend (the cups browser interface lists only "hp no_device_found"). I also tried to set the printers URI manually to hp:/usb/...., with no success. The problem does not seem to be related to the installation of hplip, but rather to an usb issue. For example lsusb gives:
Bus 002 Device 002: ID 03f0:8604 Hewlett-Packard
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 045e:0084 Microsoft Corp.
Bus 001 Device 001: ID 0000:0000
Now hp-makeuri 002:002 should output the printers URI, but instead: error: Device not found
I installed the newest versions of cups, ghostscript and usblib, but the problem remains the same.
I use Slackware 10.2 and Kernel 2.6.16.27.
Does anyone know how to fix this?
|
|
|
08-12-2006, 07:30 AM
|
#2
|
Member
Registered: Apr 2005
Location: Michigan, USA
Distribution: Slackware
Posts: 39
Rep:
|
Hi ons,
Welcome to Linuxquestions!
I had a problem with HPLIP at first, and it turned out to be a conflict with the kernel and udev detecting the printer and assigning it to a usblp device, effectively blocking it from HPLIP detection. You could comment out the usblp definitions from udev.rules, or as in my case just recompile the kernel without USB printer support.
|
|
|
08-12-2006, 07:44 AM
|
#3
|
Member
Registered: Apr 2005
Location: Michigan, USA
Distribution: Slackware
Posts: 39
Rep:
|
Correction
Hi ons,
I'm sorry, please disregard my post above. I just double checked my config and that's not at all what solved it. I do have usblp0 active on my system. I'll look into it and see if I can remember how I got HPLIP going.
|
|
|
08-12-2006, 04:09 PM
|
#4
|
LQ Newbie
Registered: Aug 2006
Posts: 5
Original Poster
Rep:
|
Thanks, etrumbo. After reinstalling cups, foomatic and hplip cleanly I can finally use the hp backend. However, two small problems remain: I have to restart hplip and cups after booting, otherwise hp-toolbox lists the printer as inactive. And hp-toolbox wont print a test-page or a page after the maintenance operations have finished. Printing from kde applications or firefox works properly.
|
|
|
08-12-2006, 06:31 PM
|
#5
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274
Rep:
|
To solve the problem of restartig the services after reboot I added a couple lines to my /etc/rc.d/rc.local
#Start the HPLIP service
/etc/init.d/hplip restart
/etc/rc.d/rc.cups restart
Hope this helps.
|
|
|
All times are GMT -5. The time now is 11:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|