LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2008, 03:51 AM   #1
PJBrs
Member
 
Registered: Oct 2006
Distribution: Slackware 14.2 / -current
Posts: 76

Rep: Reputation: 33
Question 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?

Last edited by PJBrs; 03-03-2008 at 03:52 AM.
 
Old 03-03-2008, 04:04 PM   #2
Tsomi
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Rep: Reputation: 6
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

Last edited by Tsomi; 03-03-2008 at 04:06 PM.
 
Old 03-03-2008, 10:14 PM   #3
jelaiwang
LQ Newbie
 
Registered: Nov 2006
Posts: 28

Rep: Reputation: 15
What does hp-check say?
 
Old 03-04-2008, 04:29 AM   #4
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
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.py
This is my hp-check result now if you are interested
Code:
LC_MESSAGES=en_GB.UTF8 LC_ALL=en_GB.UTF8 hp-check
Code:
hp-check[3705]: info: :
Initializing. Please wait...
scheduler is running


1.3.6


Linux foobar 2.6.23.16-smp #2 SMP Sat Feb 23 00:28:38 CST 2008 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux


warning: Invalid ppd_dir value: None
hp-check[3705]: info: :
hp-check[3705]: info: :---------------
hp-check[3705]: info: :| SYSTEM INFO |
hp-check[3705]: info: :---------------
hp-check[3705]: info: :
hp-check[3705]: info: :[01mBasic system information:[0m
hp-check[3705]: info: :Linux foobar 2.6.23.16-smp #2 SMP Sat Feb 23 00:28:38 CST 2008 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux

hp-check[3705]: info: :
hp-check[3705]: info: :[01mDistribution:[0m
hp-check[3705]: info: :unknown 0.0
hp-check[3705]: info: :[01m
HPOJ running?[0m
hp-check[3705]: info: :No, HPOJ is not running (OK).
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking Python version...[0m
hp-check[3705]: info: :OK, version 2.5.1 installed
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking PyQt version...[0m
hp-check[3705]: info: :OK, version 3.17 installed.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking SIP version...[0m
hp-check[3705]: info: :OK, Version 4.6 installed
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for CUPS...[0m
hp-check[3705]: info: :Status: scheduler is running
hp-check[3705]: info: :Version: 1.3.6
hp-check[3705]: info: :
hp-check[3705]: info: :
hp-check[3705]: info: :------------------------------------
hp-check[3705]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[3705]: info: :------------------------------------
hp-check[3705]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: cups - Common Unix Printing System...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: cups-ddk - CUPS driver development kit...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: cups-devel- Common Unix Printing System development files...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: gcc - GNU Project C and C++ Compiler...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: libcrypto - OpenSSL cryptographic library...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: libjpeg - JPEG library...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: libnetsnmp-devel - SNMP networking library development files...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: libpthread - POSIX threads library...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: libtool - Library building support services...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: libusb - USB library...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: make - GNU make utility to maintain groups of programs...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: ppdev - Parallel port support kernel module....[0m
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: PyQt - Qt interface for Python...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: python-devel - Python development files...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: Python 2.3 or greater - Required for fax functionality...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: Python 2.2 or greater - Python programming language...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: Reportlab - PDF library for Python...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: SANE - Scanning library...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: SANE - Scanning library development files...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: scanimage - Shell scanning program...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for dependency: xsane - Graphical scanner frontend for SANE...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :
hp-check[3705]: info: :----------------------
hp-check[3705]: info: :| HPLIP INSTALLATION |
hp-check[3705]: info: :----------------------
hp-check[3705]: info: :
hp-check[3705]: info: :
hp-check[3705]: info: :[01mCurrently installed HPLIP version...[0m
hp-check[3705]: info: :HPLIP 2.8.2 currently installed in '/usr/share/hplip'.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[3705]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.8.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/share/doc/hplip-2.8.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
internal-tag=2.8.2.10

hp-check[3705]: info: :
hp-check[3705]: info: :-------------------------------
hp-check[3705]: info: :| DISCOVERED PARALLEL DEVICES |
hp-check[3705]: info: :-------------------------------
hp-check[3705]: info: :
hp-check[3705]: info: :No devices found.
error: 'ppdev' kernel module not loaded.
hp-check[3705]: info: :
hp-check[3705]: info: :--------------------------
hp-check[3705]: info: :| DISCOVERED USB DEVICES |
hp-check[3705]: info: :--------------------------
hp-check[3705]: info: :
hp-check[3705]: info: :
hp-check[3705]: info: :---------------------------------
hp-check[3705]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[3705]: info: :---------------------------------
hp-check[3705]: info: :
hp-check[3705]: info: :
hp-check[3705]: info: :[01mDeskjet_5940[0m
hp-check[3705]: info: :[01m------------[0m
hp-check[3705]: info: :Type: Printer
hp-check[3705]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[3705]: info: :Device URI: hp:/usb/Deskjet_5900_series?serial=CN66K1T13504KF
hp-check[3705]: info: :PPD: /etc/cups/ppd/Deskjet_5940.ppd
hp-check[3705]: info: :PPD Description: HP DeskJet 5940 Foomatic/hpijs (recommended)
hp-check[3705]: info: :Printer status: printer Deskjet_5940 is idle.  enabled since Fri 08 Feb 2008 17:47:56 GMT

hp-check[3705]: info: :Communication status: Good
hp-check[3705]: info: :
hp-check[3705]: info: :[01mHP_Deskjet_5900_series_USB_1[0m
hp-check[3705]: info: :[01m----------------------------[0m
hp-check[3705]: info: :Type: Unknown
hp-check[3705]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[3705]: info: :Device URI: usb://HP/Deskjet%205900%20series?serial=CN66K1T13504KF
hp-check[3705]: info: :PPD: /etc/cups/ppd/HP_Deskjet_5900_series_USB_1.ppd
hp-check[3705]: info: :PPD Description: HP DeskJet 5940 Foomatic/hpijs (recommended)
hp-check[3705]: info: :Printer status: printer HP_Deskjet_5900_series_USB_1 is idle.  enabled since Sat 23 Feb 2008 17:54:24 GMT

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[3705]: info: :
hp-check[3705]: info: :----------------------
hp-check[3705]: info: :| SANE CONFIGURATION |
hp-check[3705]: info: :----------------------
hp-check[3705]: info: :
hp-check[3705]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
hp-check[3705]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking output of 'scanimage -L'...[0m
hp-check[3705]: info: :

No scanners were identified. If you were expecting something different,

check that the scanner is plugged in, turned on and detected by the

sane-find-scanner tool (if appropriate). Please read the documentation

which came with this software (README, FAQ, manpages).


hp-check[3705]: info: :
hp-check[3705]: info: :---------------------
hp-check[3705]: info: :| PYTHON EXTENSIONS |
hp-check[3705]: info: :---------------------
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking 'cupsext' CUPS extension...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking 'pcardext' Photocard extension...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking 'hpmudext' I/O extension...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking 'scanext' SANE scanning extension...[0m
hp-check[3705]: info: :OK, found.
hp-check[3705]: info: :
hp-check[3705]: info: :
hp-check[3705]: info: :-----------------
hp-check[3705]: info: :| USB I/O SETUP |
hp-check[3705]: info: :-----------------
hp-check[3705]: info: :
hp-check[3705]: info: :
hp-check[3705]: info: :[01mChecking for permissions of USB attached printers...[0m
hp-check[3705]: info: :
HP Device 0x8704 at 004:002: 
hp-check[3705]: info: :    Device URI: hp:/usb/Deskjet_5900_series?serial=CN66K1T13504KF
hp-check[3705]: info: :    Device node: /dev/bus/usb/004/002
hp-check[3705]: info: :    Mode: 0666
hp-check[3705]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/004/002

# owner: root

# group: lp

user::rw-

group::rw-

other::rw-




hp-check[3705]: info: :
hp-check[3705]: info: :-----------
hp-check[3705]: info: :| SUMMARY |
hp-check[3705]: info: :-----------
hp-check[3705]: info: :
error: 5 errors and/or warnings.
hp-check[3705]: info: :
hp-check[3705]: info: :Please refer to the installation instructions at:
hp-check[3705]: info: :http://hplip.sourceforge.net/install/index.html

Last edited by Eternal_Newbie; 03-04-2008 at 05:34 AM. Reason: added command line for use with XFCE menu
 
Old 03-04-2008, 08:16 AM   #5
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
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.
 
Old 03-04-2008, 08:27 AM   #6
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

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

Last edited by Eternal_Newbie; 03-04-2008 at 08:38 AM.
 
Old 03-04-2008, 01:03 PM   #7
PJBrs
Member
 
Registered: Oct 2006
Distribution: Slackware 14.2 / -current
Posts: 76

Original Poster
Rep: Reputation: 33
Thumbs up

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
will make it work on cups > 1.3.3.
 
Old 03-04-2008, 03:39 PM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Thanks for the work on this, guys - I'll add it to -current's CHANGES_AND_HINTS.TXT.
 
Old 03-05-2008, 05:54 AM   #9
PJBrs
Member
 
Registered: Oct 2006
Distribution: Slackware 14.2 / -current
Posts: 76

Original Poster
Rep: Reputation: 33
Sounds like a good idea

I'm hoping that the HPLIP folks will be able to fix this before 12.1 is finished.
 
Old 04-01-2008, 05:43 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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 $LANG
en_US.UTF-8
And according to this thread, I tried:
Code:
mingdao@silas:~$ LC_MESSAGES=*en_US*.UTF8 LC_ALL=*en_US*.UTF8 hp-toolbox
and LC_MESSAGES=*en_US*.UTF-8 LC_ALL=*en_US*.UTF-8 hp-toolbox
and LC_MESSAGES=en_US.UTF-8 LC_ALL=en_US.UTF-8 hp-toolbox
and none of them worked for me.

From CLI:
Code:
mingdao@silas:~$ hp-check

HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.0

Copyright (c) 2001-7 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully
compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to
successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...
warning: Invalid ppd_dir value: None

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux silas 2.6.24.3-smp #1 SMP Wed Mar 19 00:35:38 CDT 2008 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

Distribution:
unknown 0.0

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.6 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.3.6


------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-ddk - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: cups-devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 2.8.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.8.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/share/doc/hplip-2.8.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
internal-tag=2.8.2.10


-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.
error: 'ppdev' kernel module not loaded.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


HP-DeskJet-920C
---------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/DeskJet_920C?serial=CN21R1C0BPIS
PPD: /etc/cups/ppd/HP-DeskJet-920C.ppd
PPD Description: HP DeskJet 920C Foomatic/hpijs (recommended)
Printer status: printer HP-DeskJet-920C is idle.  enabled since Mon 24 Mar 2008 06:52:19 PM CST
error: Unable to communicate with device (code=12): hp:/usb/DeskJet_920C?serial=CN21R1C0BPIS
error: Device not found

HP-OfficeJet-J5788
------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Officejet_J5700_series?serial=CN74KBF23T04T1
PPD: /etc/cups/ppd/HP-OfficeJet-J5788.ppd
PPD Description: HP OfficeJet J5700 Foomatic/hpijs (recommended)
Printer status: printer HP-OfficeJet-J5788 is idle.  enabled since Mon 31 Mar 2008 11:25:31 PM CST
error: Unable to communicate with device (code=12): hp:/usb/Officejet_J5700_series?serial=CN74KBF23T04T1
error: Device not found


----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.


-----------------
| USB I/O SETUP |
-----------------


Checking for permissions of USB attached printers...

-----------
| SUMMARY |
-----------

error: 6 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html
Both printers work fine.

From CLI:
Code:
mingdao@silas:~$ LC_MESSAGES=*en_US*.UTF8 LC_ALL=*en_US*.UTF8 hp-toolbox

HP Linux Imaging and Printing System (ver. 2.8.2)
HP Device Manager ver. 11.0

Copyright (c) 2001-7 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.

warning: Reportlab not installed. Fax coverpages disabled.
warning: Please install version 2.0+ of Reportlab for coverpage support.
error: Unable to communicate with device (code=12): hp:/usb/DeskJet_920C?serial=CN21R1C0BPIS
warning: Device not found
error: Unable to communicate with device (code=12): hp:/usb/Officejet_J5700_series?serial=CN74KBF23T04T1
warning: Device not found
error: Unable to communicate with device (code=12): hp:/usb/Officejet_J5700_series?serial=CN74KBF23T04T1
warning: Device not found
And also using the HP Device Manager GUI interface, it finds them not.


If someone can point me to something to do to help get this situation corrected, I'll join the fray.
 
Old 04-01-2008, 06:46 AM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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".
 
Old 04-01-2008, 11:47 AM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
So to clarify: all is well now?
 
Old 04-01-2008, 11:54 AM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

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

And I _really_ need to read all of CHANGES_AND_HINTS.TXT ...
 
Old 04-02-2008, 02:28 PM   #14
PJBrs
Member
 
Registered: Oct 2006
Distribution: Slackware 14.2 / -current
Posts: 76

Original Poster
Rep: Reputation: 33
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.
 
  


Reply

Tags
hplip


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
F7 install fail - unable to find device drivers idk666 Linux - General 0 10-01-2007 02:42 PM
LXer: Tutorial: Use Networked Printers and Scanners with HPLIP LXer Syndicated Linux News 0 08-21-2007 07:10 AM
"Unable to find device...needed for install New Linux - Newbie 1 01-19-2007 11:22 AM
HP PSC1610 not reconized in hplip device manager, reduced functionality carlotegano Linux - Hardware 2 08-21-2005 02:22 AM
hplip does not support printing to windows printers phats_O Linux - Hardware 1 06-01-2005 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:51 AM.

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