LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   HPLIP Device manager unable to find printers on current? (http://www.linuxquestions.org/questions/slackware-14/hplip-device-manager-unable-to-find-printers-on-current-625320/)

PJBrs 03-03-2008 03:51 AM

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?

Tsomi 03-03-2008 04:04 PM

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

jelaiwang 03-03-2008 10:14 PM

What does hp-check say?

Eternal_Newbie 03-04-2008 04:29 AM

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


C-Sniper 03-04-2008 08:16 AM

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.

Eternal_Newbie 03-04-2008 08:27 AM

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.

PJBrs 03-04-2008 01:03 PM

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.

rworkman 03-04-2008 03:39 PM

Thanks for the work on this, guys - I'll add it to -current's CHANGES_AND_HINTS.TXT.

PJBrs 03-05-2008 05:54 AM

Sounds like a good idea :)

I'm hoping that the HPLIP folks will be able to fix this before 12.1 is finished.

Bruce Hill 04-01-2008 05:43 AM

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.

Bruce Hill 04-01-2008 06:46 AM

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".

rworkman 04-01-2008 11:47 AM

So to clarify: all is well now? :)

Bruce Hill 04-01-2008 11:54 AM

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 ...

PJBrs 04-02-2008 02:28 PM

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 09:40 PM.