Slackware 12.1- hptoolbox fails printing, everything else seems to work.

Asked by Jan-Christer Andersson

On my system (Slackware 12.1), my photosmart C5180 works ok when setting it up by cups, even the scanner. When I try to set it up with hp-setup, it´s there, but I cant print. Supplies and the rest is showing and seems to work, but thats all. Comparing the two setups, there is a difference in the uri, usb://hp/Photosmart C5100 series?serial=MY78SQ931Q04MK (for the cups-setup) and hp:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK (for theHP dev. manager-setup). I did follow Slackware´s official guide regarding groups and so on, and it certainly works, but not when trying to configure with HP dev. manager. Enclosing the req. output from hp-check -t :

Jan-Christer.

HP Linux Imaging and Printing System (ver. 2.8.4)
Dependency/Version Check Utility ver. 14.0

Copyright (c) 2001-8 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 slackbox 2.6.24.5-smp #1 SMP Wed Apr 30 13:18:13 CDT 2008 i686 AMD Athlon(tm) XP 2700+ 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.7
error_log is set to level: info
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4

------------------------------------
| 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: dbus - Message bus system...
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-ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: python-dbus - Python bindings for dbus...
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.4 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.4

[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.4
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.4.2

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

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

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

  Device URI Model
  ---------------------------------------- --------------------------
  hp:/usb/Photosmart_C5100_series?serial=M HP Photosmart C5100 series
  Y78SQ931Q04MK

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

HP_Photosmart_C5100_series_USB_1
--------------------------------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: usb://HP/Photosmart%20C5100%20series?serial=MY78SQ931Q04MK
PPD: /etc/cups/ppd/HP_Photosmart_C5100_series_USB_1.ppd
PPD Description: HP PhotoSmart C5100 Foomatic/hpijs, hpijs 2.8.4.2
Printer status: printer HP_Photosmart_C5100_series_USB_1 is idle. enabled since Tue 06 May 2008 12:32:59 PM CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

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

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

Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK' is a Hewlett-Packard Photosmart_C5100_series all-in-one

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

HP Device 0x5811 at 004:003:
    Device URI: hp:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK
    Device node: /dev/bus/usb/004/003
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/004/003
# owner: root
# group: scanner
user::rw-
group::rw-
other::r--

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

error: 5 errors and/or warnings.

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

Done.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Jan-Christer Andersson
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

First thing, run hp-setup to configure the printer. The HPLIP tools require that the print is using the hp:// backend. and currently the printer is not configured for the hp:// backend.

Once hp-setup is run, try running hp-toolbox again. if you get an error please post the error you get in hp-toolbox.

A

Revision history for this message
Jan-Christer Andersson (jannekrille) said :
#2

error: You must be root to run this utility.
xxx@xxxxxbox:~$ su
Password:
root@xxxxxbox:/home/jc# hp-setup

HP Linux Imaging and Printing System (ver. 2.8.4)
Printer/Fax Setup Utility ver. 7.2

Copyright (c) 2001-8 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: PPD not file found. An appropriate PPD file could not be found. Please check your HPLIP install, use <i>Select Other...</i>, or download one from linuxprinting.org.
error: Printer queue setup failed. Please restart CUPS and try again.

Revision history for this message
Jan-Christer Andersson (jannekrille) said :
#3

When I install my printer as a regular user with hp-toolbox, it says that it´s alright, but when I wait for the testpage, following message is appearing after a short while:

"HPLIP Device status:
hp:/usb/Photosmart_C5100_series?serial=MY/(SQ931Q04MK
5012
Device communication error.
(root/6/tmpElglJx)"

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#4

Please run hp-check -t again and post the output.

Thanks!

Aaron

Revision history for this message
Jan-Christer Andersson (jannekrille) said :
#5

Hi Aaron,
Thank you for your effort so far.
Tried once more with first cups (made printer work), shows in hp-toolbox, but no printing.
Output from hp-check -t:

HP Linux Imaging and Printing System (ver. 2.8.4)
Dependency/Version Check Utility ver. 14.0

Copyright (c) 2001-8 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 slackbox 2.6.24.5-smp #1 SMP Wed Apr 30 13:18:13 CDT 2008 i686 AMD Athlon(tm) XP 2700+ 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.7
error_log is set to level: info
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4

------------------------------------
| 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: dbus - Message bus system...
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-ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: python-dbus - Python bindings for dbus...
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.4 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.4

[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.4
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.4.2

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

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

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

  Device URI Model
  ---------------------------- --------------------------
  hp:/usb/Photosmart_C5100_ser HP Photosmart C5100 series
  ies?serial=MY78SQ931Q04MK

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

Photosmart_C5100
----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK
PPD: /etc/cups/ppd/Photosmart_C5100.ppd
PPD Description: HP PhotoSmart C5100 Foomatic/hpijs, hpijs 2.8.4.2
Printer status: printer Photosmart_C5100 now printing Photosmart_C5100-27. enabled since Sat 10 May 2008 01:15:50 AM CEST

HP Linux Imaging and Printing System (ver. 2.8.4)
System Tray Status Service ver. 0.1

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

Communication status: Good

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

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

Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK' is a Hewlett-Packard Photosmart_C5100_series all-in-one

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

HP Device 0x5811 at 004:003:
    Device URI: hp:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK
    Device node: /dev/bus/usb/004/003
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/004/003
# owner: root
# group: scanner
user::rw-
group::rw-
other::r--

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

error: 4 errors and/or warnings.

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

Done.

According to others, it´s possibly an issue with utf-8, and I am not so much of a hacker... still, I have made it since 1999 with slackware and refuse to shift to ubuntu or such for this single matter :-)

Jan-Christer

Revision history for this message
dwelch91 (dwelch91) said :
#6

Try here:

http://www.linuxquestions.org/questions/slackware-14/howto-upgrade-slackware-12.0-to-12.1-640473/

On Fri, May 9, 2008 at 4:24 PM, Jan-Christer Andersson <
<email address hidden>> wrote:

> Question #32208 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/32208
>
> Status: Needs information => Open
>
> Jan-Christer Andersson gave more information on the question:
> Hi Aaron,
> Thank you for your effort so far.
> Tried once more with first cups (made printer work), shows in hp-toolbox,
> but no printing.
> Output from hp-check -t:
>
> HP Linux Imaging and Printing System (ver. 2.8.4)
> Dependency/Version Check Utility ver. 14.0
>
> Copyright (c) 2001-8 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 slackbox 2.6.24.5-smp #1 SMP Wed Apr 30 13:18:13 CDT 2008 i686 AMD
> Athlon(tm) XP 2700+ 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.7
> error_log is set to level: info
> note: For troubleshooting printing issues, it is best to have the CUPS
> 'LogLevel'
> note: set to 'debug'. To set the LogLevel to debug, edit the file
> /etc/cups/cupsd.conf (as root),
> note: and change the line near the top of the file that begins with
> 'LogLevel' to read:
> note: LogLevel debug
> note: Save the file and then restart CUPS (see your OS/distro docs on how
> to restart CUPS).
> note: Now, when you print, helpful debug information will be saved to the
> file:
> note: /var/log/cups/error_log
> note: You can monitor this file by running this command in a console/shell:
> note: tail -f /var/log/cups/error_log
>
> Checking for dbus/python-dbus...
> dbus daemon is running.
> python-dbus version: 0.82.4
>
>
> ------------------------------------
> | 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: dbus - Message bus system...
> 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-ctypes - A foreign function library for
> Python...
> OK, found.
>
> Checking for dependency: python-dbus - Python bindings for dbus...
> 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.4 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.4
>
> [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.4
> 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.4.2
>
>
> -------------------------------
> | DISCOVERED PARALLEL DEVICES |
> -------------------------------
>
> No devices found.
> error: 'ppdev' kernel module not loaded.
>
> --------------------------
> | DISCOVERED USB DEVICES |
> --------------------------
>
> Device URI Model
> ---------------------------- --------------------------
> hp:/usb/Photosmart_C5100_ser HP Photosmart C5100 series
> ies?serial=MY78SQ931Q04MK
>
> ---------------------------------
> | INSTALLED CUPS PRINTER QUEUES |
> ---------------------------------
>
>
> Photosmart_C5100
> ----------------
> Type: Printer
> Installed in HPLIP?: Yes, using the hp: CUPS backend.
> Device URI: hp:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK
> PPD: /etc/cups/ppd/Photosmart_C5100.ppd
> PPD Description: HP PhotoSmart C5100 Foomatic/hpijs, hpijs 2.8.4.2
> Printer status: printer Photosmart_C5100 now printing Photosmart_C5100-27.
> enabled since Sat 10 May 2008 01:15:50 AM CEST
>
> HP Linux Imaging and Printing System (ver. 2.8.4)
> System Tray Status Service ver. 0.1
>
> Copyright (c) 2001-8 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.
>
> Communication status: Good
>
>
> ----------------------
> | SANE CONFIGURATION |
> ----------------------
>
> 'hpaio' in '/etc/sane.d/dll.conf'...
> OK, found. SANE backend 'hpaio' is properly set up.
>
> Checking output of 'scanimage -L'...
> device `hpaio:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK' is a
> Hewlett-Packard Photosmart_C5100_series all-in-one
>
>
> ---------------------
> | 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...
>
> HP Device 0x5811 at 004:003:
> Device URI: hp:/usb/Photosmart_C5100_series?serial=MY78SQ931Q04MK
> Device node: /dev/bus/usb/004/003
> Mode: 0664
> getfacl: Removing leading '/' from absolute path names
> # file: dev/bus/usb/004/003
> # owner: root
> # group: scanner
> user::rw-
> group::rw-
> other::r--
>
>
> -----------
> | SUMMARY |
> -----------
>
> error: 4 errors and/or warnings.
>
> Please refer to the installation instructions at:
> http://hplip.sourceforge.net/install/index.html
>
>
> Done.
>
> According to others, it´s possibly an issue with utf-8, and I am not so
> much of a hacker... still, I have made it since 1999 with slackware and
> refuse to shift to ubuntu or such for this single matter :-)
>
> Jan-Christer
>
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Jan-Christer Andersson (jannekrille) said :
#7

@dwelch91,
Thanks for the tip.
I did start with that before I went here, I even did a fresh install choosing not to set Swedish language just for this issue. Strangely enough, i noticed that hp-toolbox does not work in my old system (slack 12.0) either, maybe after upgrading cups some weeks ago? Anyway, the printer IS working as long as I´m not trying to use hp-toolbox, so I suppose I can live with that until I find a solution. Linux Questions is the place I so far have solved any troubles I have had, by searching trough all skilled peoples posts and I think this one will eventually get solved too. It´s just a matter of patience and trial and error :-)

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#8

Thanks for the update, setting to answered.

Aaron

Revision history for this message
Jan-Christer Andersson (jannekrille) said :
#9

Finally!!! After messing around long enough to pull my hair, I went to the local electronic-shop and bought 20 meters of cat-5 cable, pressed the RJ45 contacts and plugged in the printer. Lo and behold! I now have not only a very good working printer, but it is also visible AND operational via hp-toolbox! Must have been some problem with how hplip and hal works together (just a guess). Of course, I had to change the command to hp toolbox to avoid the by now (in)famous UTF-8 issue. For others in my situation, here it is:

LC_ALL=$LANG.UTF8 hp-toolbox

It is ok to use it in a console, or change it in kde menu editor for the application in the menu.

Conclusion: Strange behaviour when connected to usb (possibly a local problem), runs well connected to my router.

Thank you for the support,
Jan-Christer