![]() |
HPLIP Device manager unable to find printers on current?
I've encountered a problem with HPLIP, and now I'm wondering whether it is just me, or this is an existing issue with HPLIP. So does anyone else have this problem? Anyone have a solution?
This weekend I upgraded my desktop to current, and tried to reinstall my HP Photosmart 2575. So I fired up the HPLIP-toolbox. It did find my (networked) printer, but then it 1) complained that it couldn't find the right .ppd file for it (so I selected it manually) and then 2) it said it couldn't add the printer queue, so I should restart cups and retry. That didn't work; I could not use the HPLIP toolbox to add my printer. This was all done within KDE. I then logged in as root on the cli and ran hp-setup, which found my printer, found the corresponding ppd, and added a queue to printers.conf. Everything seems to work (I didn't test the printer 'cause it was low on ink, but the scanner worked, the printer was reported on both localhost:631 and in de KDE printer settings applet). However, the HPLIP toolbox still says that there are no HP printers registered (recgonised by the hp:/ device URI), whereas a cursory glance at printers.conf clearly says there are. In sum, even with HP printers properly installed, the HPLIP toolbox still complains that there are "no devices found". All commandline-utilities (hp-setup, hp-info) seem to work on the cli, the problem is only with the GUI toolbox. Anyone else have this problem? |
Hello,
This appears to be a problem with UTF-8, hp-toolbox has serious problems with that in -current. I found this solution on a bugzilla; just run hp-toolbox this way and it should work: Code:
LC_MESSAGES=*YOUR_LOCALE*.UTF8 LC_ALL=*YOUR_LOCALE*.UTF8 hp-toolbox |
What does hp-check say?
|
Thanks very much for posting that solution, got my hp-toolbox up and running using this.
BTW: for it to work in XFCE Menu, change it to read: Code:
env LC_MESSAGES="en_GB.UTF8" env LC_ALL="en_GB.UTF8" /usr/share/hplip/toolbox.pyCode:
LC_MESSAGES=en_GB.UTF8 LC_ALL=en_GB.UTF8 hp-checkCode:
hp-check[3705]: info: : |
from the looks of the error do you have the "ppdev" module installed in the kernel? also from it looks like you need th PIL package or upgrade the current one to Slackware-current. Try rebuilding the kernel with the ppdev and look to see if there is an upgrade or slackware package for the PIL dependency.
Cheers. |
Tsomi's post explains why the hplip tools weren't working in current. PIL and ppdev have nothing to do with the problem and are optional dependencies, unless you are using a scanner or parallel port printer.
|
Thanks, Tsomi!
I googled a bit and found a very thorough bug description here: hplip 2.7.10 is not working with cups 1.3.4 Apparently, something changed from cups 1.3.4 onward that makes the hp-toolbox fail. I downgraded to 1.3.3 (built with the original Slackware slackbuild), and then it worked again. Also, I found a workaround on that bug page; starting the toolbox with Code:
LC_ALL=$LANG.UTF8 hp-toolbox |
Thanks for the work on this, guys - I'll add it to -current's CHANGES_AND_HINTS.TXT.
|
Sounds like a good idea :)
I'm hoping that the HPLIP folks will be able to fix this before 12.1 is finished. |
I'm running the Slackware -current from:
Sat Mar 29 18:07:00 CDT 2008 And on this system, so I can have Chinese input, I have: Code:
mingdao@silas:~$ echo $LANGCode:
mingdao@silas:~$ LC_MESSAGES=*en_US*.UTF8 LC_ALL=*en_US*.UTF8 hp-toolboxFrom CLI: Code:
mingdao@silas:~$ hp-checkFrom CLI: Code:
mingdao@silas:~$ LC_MESSAGES=*en_US*.UTF8 LC_ALL=*en_US*.UTF8 hp-toolboxIf someone can point me to something to do to help get this situation corrected, I'll join the fray. |
Should we scratch my entire post above?
Robby, I can not get used to a CHANGES_AND_HINTS.TXT file between stable releases. I've added my user to the lp group, and restarted. Since I already use an UTF-8 locale, that wasn't part of my command. It works ... with only "hp-check" and "hp-toolbox". |
So to clarify: all is well now? :)
|
As I like to say about Slackware overall, It Just Works (TM).
So tomorrow, after my cron job mirrors OSUOSL tonight, I'll install the Apr 1 -current and see if anything breaks. :D And I _really_ need to read all of CHANGES_AND_HINTS.TXT ... |
Reading Bruce's post I decided to try with a UTF8 locale, and this indeed fixes the problems with hp-toolbox. And then I got curious and read the CHANGES_AND_HINTS for current. Indeed an interesting read :) Unfortunately, it still is very accurate with regard to my experiences with hp-toolbox; some way (in /etc/profile.d/lang.sh) or other (by calling "LANG=$LANG.UTF8 hp-toolbox"), a UTF8 locale must be set or it won't work.
Anyway that's my experience. I hope sharing it helps clearing up any doubts regarding what does and doesn't work with hp-toolbox. |
| All times are GMT -5. The time now is 07:22 PM. |