Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-11-2006, 03:22 PM   #1
LQ Newbie
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
Slackware + HPLIP


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
Does anyone know how to fix this?
Old 08-12-2006, 07:30 AM   #2
Registered: Apr 2005
Location: Michigan, USA
Distribution: Slackware
Posts: 39

Rep: Reputation: 16
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.
Old 08-12-2006, 07:44 AM   #3
Registered: Apr 2005
Location: Michigan, USA
Distribution: Slackware
Posts: 39

Rep: Reputation: 16

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.
Old 08-12-2006, 04:09 PM   #4
LQ Newbie
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
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.
Old 08-12-2006, 06:31 PM   #5
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,231

Rep: Reputation: 57
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Configuring HPLIP for Slackware 10.2 simcox1 LinuxAnswers Discussion 3 04-02-2007 08:18 AM
hplip 0.9.3 problems on Slackware 10.1 jmp1prs Slackware 34 03-05-2006 02:43 AM
hplip have not worked :( mbt Linux - Hardware 2 12-03-2005 11:49 AM
Hplip thoyyib Linux - Hardware 1 12-01-2005 01:35 PM
HPLIP on Slackware or, getting my printer working Rayston Slackware 5 11-21-2005 02:36 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration