hplip installed but the hp photosmart doesn't print

Asked by Alberto

Until a few days ago, I used that hp phoptosmart c4180 along ubuntu 8.04 hardy. I performed some attempts to make it to print by means of hplip. The results were: either it was possible to print, but without the possibility to use the printer settings or it was possible to use the printer settings but, in the meantime, it wasn't possible to print any longer.
Tired out of that all I installed ubuntu 9.04 jaunty then installed hplip by ubuntu jaunty repositories. The hp-setup was performed all right and the test page was printed well, but when I tried to launch hp-toolbox I obtained this:

alberto@host668:~$ hp-toolbox

HP Linux Imaging and Printing System (ver. 3.9.2)
HP Device Manager ver. 15.0

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

Traceback (most recent call last):
  File "/usr/bin/hp-toolbox", line 246, in <module>
    from ui4.devmgr5 import DevMgr5
  File "/usr/share/hplip/ui4/devmgr5.py", line 45, in <module>
    from dbus.mainloop.qt import DBusQtMainLoop
ImportError: No module named qt

So I removed hplip again and reinstalled it by means of sh hplip-3.9.4b.
Now everything seems to be ok but the printer unexplicably does not print again (!!??)

Here you have the hp-check -t result:
hp-check[29897]: info: :
Initializing. Please wait...
Ubuntu

9.04

la stampa programmata è in esecuzione

1.3.9

Linux host668 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

hp-check[29897]: info: :
hp-check[29897]: info: :---------------
hp-check[29897]: info: :| SYSTEM INFO |
hp-check[29897]: info: :---------------
hp-check[29897]: info: :
hp-check[29897]: info: :Basic system information:
hp-check[29897]: info: :Linux host668 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

hp-check[29897]: info: :
hp-check[29897]: info: :Distribution:
hp-check[29897]: info: :ubuntu 9.04
hp-check[29897]: info: :
HPOJ running?
hp-check[29897]: info: :No, HPOJ is not running (OK).
hp-check[29897]: info: :
hp-check[29897]: info: :Checking Python version...
hp-check[29897]: info: :OK, version 2.6.2 installed
hp-check[29897]: info: :
hp-check[29897]: info: :Checking PyQt 4.x version...
hp-check[29897]: info: :OK, version 4.4.4 installed.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for CUPS...
hp-check[29897]: info: :Status: la stampa programmata è in esecuzione
hp-check[29897]: info: :Version: 1.3.9
hp-check[29897]: info: :error_log is set to level: warn
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dbus/python-dbus...
hp-check[29897]: info: :dbus daemon is running.
hp-check[29897]: info: :python-dbus version: 0.83.0
hp-check[29897]: info: :
hp-check[29897]: info: :
hp-check[29897]: info: :------------------------------------
hp-check[29897]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[29897]: info: :------------------------------------
hp-check[29897]: 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[29897]: info: :
hp-check[29897]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: CUPS DDK - CUPS driver development kit...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: DBus - Message bus system...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: libtool - Library building support services...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: libusb - USB library...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: Python ctypes - A foreign function library for Python...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: Python devel - Python development files...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: Python XML libraries...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: SANE - Scanning library...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[29897]: info: :OK, found.
hp-check[29897]: info: :
hp-check[29897]: info: :
hp-check[29897]: info: :----------------------
hp-check[29897]: info: :| HPLIP INSTALLATION |
hp-check[29897]: info: :----------------------
hp-check[29897]: info: :
hp-check[29897]: info: :
hp-check[29897]: info: :Currently installed HPLIP version...
hp-check[29897]: info: :HPLIP 3.9.4b currently installed in '/usr/share/hplip'.
hp-check[29897]: info: :
hp-check[29897]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[29897]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

and here is the hp-toolbox -g result:
alberto@host668:~$ hp-toolbox -g

HP Linux Imaging and Printing System (ver. 3.9.4b)
HP Device Manager ver. 15.0

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

hp-toolbox(UI)[29959]: debug: Initializing toolbox UI (Qt4)...
hp-toolbox(UI)[29959]: debug: HPLIP Version: 3.9.4b
hp-toolbox(UI)[29959]: debug: Loading user settings...
hp-toolbox(UI)[29959]: debug: FAB command: /usr/bin/hp-fab
hp-toolbox(UI)[29959]: debug: Scan command: /usr/bin/xsane -V %SANE_URI%
hp-toolbox(UI)[29959]: debug: Auto refresh: False
hp-toolbox(UI)[29959]: debug: Auto refresh rate: 30
hp-toolbox(UI)[29959]: debug: Auto refresh type: 1
hp-toolbox(UI)[29959]: debug: Systray visible: 0
hp-toolbox(UI)[29959]: debug: Systray messages: 0
hp-toolbox(UI)[29959]: debug: Last used device URI: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[29959]: debug: Last used printer: Photosmart_C4100
hp-toolbox(UI)[29959]: debug: Working directory: .
/var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
hp-toolbox(UI)[29959]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-toolbox(UI)[29959]: debug: Starting GUI loop...
hp-toolbox(UI)[29959]: debug: Rescanning device list...
hp-toolbox(UI)[29959]: debug: Cache miss: photosmart_c4100_series
hp-toolbox(UI)[29959]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[29959]: debug: Searching for section [photosmart_c4100_series] in file /usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[29959]: debug: Found section [photosmart_c4100_series] in file /usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[29959]: debug: Adds: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[29959]: debug: Removals (1):
hp-toolbox(UI)[29959]: debug: Updates:
hp-toolbox(UI)[29959]: debug: adding: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[29959]: debug: Device URI: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[29959]: debug: Printer: None
hp-toolbox(UI)[29959]: debug: URI: backend=hp, is_hp=True, bus=usb, model=Photosmart_C4100_series, serial=MY6B2G13J904J7, dev=, host=, port=1
hp-toolbox(UI)[29959]: debug: Model/UI model: Photosmart_C4100_series/HP Photosmart c4100 Series
hp-toolbox(UI)[29959]: debug: Removals (2):
hp-toolbox(UI)[29959]: debug: Saving user settings...
hp-toolbox(UI)[29959]: debug: updateDevice(hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[29959]: debug: Sending event 9010 to com.hplip.StatusService (via dbus)...
hp-toolbox(UI)[29959]: debug: Sending event 700 to hpssd...
hp-toolbox(UI)[29959]: debug: Handling event...
hp-toolbox(UI)[29959]: debug: device_uri=hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[29959]: debug: printer_name=
hp-toolbox(UI)[29959]: debug: event_code=9003
hp-toolbox(UI)[29959]: debug: username=alberto
hp-toolbox(UI)[29959]: debug: job_id=0
hp-toolbox(UI)[29959]: debug: title=
hp-toolbox(UI)[29959]: debug: timedate=1242416629.17
hp-toolbox(UI)[29959]: debug: EVENT_HISTORY_UPDATE (hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[29959]: debug: Handling event...
hp-toolbox(UI)[29959]: debug: device_uri=hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[29959]: debug: printer_name=
hp-toolbox(UI)[29959]: debug: event_code=9011
hp-toolbox(UI)[29959]: debug: username=alberto
hp-toolbox(UI)[29959]: debug: job_id=0
hp-toolbox(UI)[29959]: debug: title=
hp-toolbox(UI)[29959]: debug: timedate=1242416629.24
hp-toolbox(UI)[29959]: debug: EVENT_DEVICE_UPDATE_REPLY (hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[29959]: debug: Handling event...
hp-toolbox(UI)[29959]: debug: device_uri=hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[29959]: debug: printer_name=Photosmart_C4100
hp-toolbox(UI)[29959]: debug: event_code=9003
hp-toolbox(UI)[29959]: debug: username=alberto
hp-toolbox(UI)[29959]: debug: job_id=0
hp-toolbox(UI)[29959]: debug: title=
hp-toolbox(UI)[29959]: debug: timedate=1242416629.25
hp-toolbox(UI)[29959]: debug: EVENT_HISTORY_UPDATE (hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[29959]: debug: updateDevice(hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[29959]: debug: updateCurrentTab()
hp-toolbox(UI)[29959]: debug: updateDevice(hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[29959]: debug: updateCurrentTab()
hp-toolbox(UI)[29959]: debug: updateDevice(hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[29959]: debug: updateCurrentTab()

Any help is welcome.
Best Regards,
Alberto Zeni

Question information

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

Your hp-check output is missing the last half of the information that should be displayed.

Please run hp-check again and post the entire results?

Thanks!

Aaron

Revision history for this message
Alberto (alb-zeni) said :
#2

First of all: In the meantime I uninstalled and reinstalled CUPS. Now HPLIP works. HP-TOOLBOX is functional and the printer works, too.

Here is the hp-check -t output:

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

No devices found.

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

  Device URI Model
  -------------------------------- --------------------------
  hp:/usb/Photosmart_C4100_series? HP Photosmart C4100 series
  serial=MY6B2G13J904J7

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

warning: No queues found.

----------------------
| 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_C4100_series?serial=MY6B2G13J904J7' is a Hewlett-Packard Photosmart_C4100_series all-in-one
device `v4l:/dev/video0' is a Noname BT878 video (Hauppauge (bt878)) virtual device

---------------------
| 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 0x5711 at 001:003:
    Device URI: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
    Device node: /dev/bus/usb/001/003
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/003
# owner: lp
# group: lp
user::rw-
user:alberto:rw-
group::rw-
mask::rw-
other::---

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

error: 10 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
sudo aptitude install --assume-yes libcupsys2-dev cupsys-bsd
sudo aptitude install --assume-yes libdbus-1-dev
sudo aptitude install --assume-yes openssl
sudo aptitude install --assume-yes libjpeg62-dev
sudo aptitude install --assume-yes libsnmp-dev
sudo aptitude install --assume-yes libtool
sudo aptitude install --assume-yes libusb-dev
sudo aptitude install --assume-yes libsane-dev
sudo aptitude install --assume-yes xsane

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

Done.
alberto@host668:~$

Here is the hp-toolbox -g output:

alberto@host668:~$ hp-toolbox -g

HP Linux Imaging and Printing System (ver. 3.9.2)
HP Device Manager ver. 15.0

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

hp-toolbox(UI)[3518]: debug: Initializing toolbox UI (Qt4)...
hp-toolbox(UI)[3518]: debug: HPLIP Version: 3.9.2
hp-toolbox(UI)[3518]: debug: Loading user settings...
hp-toolbox(UI)[3518]: debug: FAB command: /usr/bin/hp-fab
hp-toolbox(UI)[3518]: debug: Scan command: /usr/bin/xsane -V %SANE_URI%
hp-toolbox(UI)[3518]: debug: Auto refresh: False
hp-toolbox(UI)[3518]: debug: Auto refresh rate: 30
hp-toolbox(UI)[3518]: debug: Auto refresh type: 1
hp-toolbox(UI)[3518]: debug: Systray visible: 0
hp-toolbox(UI)[3518]: debug: Last used device URI: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[3518]: debug: Last used printer:
/var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
hp-toolbox(UI)[3518]: debug: Connecting to com.hplip.StatusService (try #1)...
hp-toolbox(UI)[3518]: debug: Starting GUI loop...
hp-toolbox(UI)[3518]: debug: Rescanning device list...
hp-toolbox(UI)[3518]: debug: Device URI cups-pdf:/ is invalid/unknown
hp-toolbox(UI)[3518]: debug: Exception: 4 (Unknown/invalid device-uri field)
hp-toolbox(UI)[3518]: debug: Cache miss: photosmart_c4100_series
hp-toolbox(UI)[3518]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[3518]: debug: Searching for section [photosmart_c4100_series] in file /usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[3518]: debug: Found section [photosmart_c4100_series] in file /usr/share/hplip/data/models/models.dat
hp-toolbox(UI)[3518]: debug: Adds: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[3518]: debug: Removals (1):
hp-toolbox(UI)[3518]: debug: Updates:
hp-toolbox(UI)[3518]: debug: adding: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[3518]: debug: Device URI: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[3518]: debug: Printer: None
hp-toolbox(UI)[3518]: debug: URI: backend=hp, is_hp=True, bus=usb, model=Photosmart_C4100_series, serial=MY6B2G13J904J7, dev=, host=, port=1
hp-toolbox(UI)[3518]: debug: Model/UI model: Photosmart_C4100_series/HP Photosmart c4100 Series
hp-toolbox(UI)[3518]: debug: Removals (2):
hp-toolbox(UI)[3518]: debug: updateDevice(hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[3518]: debug: Sending event 9010 to com.hplip.StatusService (via dbus)...
hp-toolbox(UI)[3518]: debug: Handling event...
hp-toolbox(UI)[3518]: debug: device_uri=hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[3518]: debug: printer_name=
hp-toolbox(UI)[3518]: debug: event_code=9003
hp-toolbox(UI)[3518]: debug: username=alberto
hp-toolbox(UI)[3518]: debug: job_id=0
hp-toolbox(UI)[3518]: debug: title=
hp-toolbox(UI)[3518]: debug: timedate=1242852149.28
hp-toolbox(UI)[3518]: debug: EVENT_HISTORY_UPDATE (hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[3518]: debug: Handling event...
hp-toolbox(UI)[3518]: debug: device_uri=hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
hp-toolbox(UI)[3518]: debug: printer_name=
hp-toolbox(UI)[3518]: debug: event_code=9011
hp-toolbox(UI)[3518]: debug: username=alberto
hp-toolbox(UI)[3518]: debug: job_id=0
hp-toolbox(UI)[3518]: debug: title=
hp-toolbox(UI)[3518]: debug: timedate=1242852149.29
hp-toolbox(UI)[3518]: debug: EVENT_DEVICE_UPDATE_REPLY (hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[3518]: debug: updateDevice(hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[3518]: debug: updateCurrentTab()
hp-toolbox(UI)[3518]: debug: updateDevice(hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7)
hp-toolbox(UI)[3518]: debug: updateCurrentTab()

Any suggestion ?

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

It doesn't look like there is a printer queue configured.

Run:

sudo hp-setup

to configure the printer.

Aaron

Revision history for this message
Alberto (alb-zeni) said :
#4

Hello,
Even if doesn't look there is a printer queue configured, there is one, instead. This is a strange thing. However I ran sudo hp-setup and now in hp-toolbox print dialog box I find:

-Print on file
-PDF
-Photosmart_C4100
-Photosmart_C4100_2

You can see two printer queues now: both of the two printers work, but if you have a look at the hp-check -t (the one I run after the last hp-setup I ran, you can see that this message remains: warning: No queues found. I can't understand the reason why of that. At any rate, it doesn't matter, as the printer works and hp-toolbox is fully usable.

Here is the output of the last hp-check -t:

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

No devices found.

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

  Device URI Model
  -------------------------------- --------------------------
  hp:/usb/Photosmart_C4100_series? HP Photosmart C4100 series
  serial=MY6B2G13J904J7

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

warning: No queues found.

----------------------
| 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_C4100_series?serial=MY6B2G13J904J7' is a Hewlett-Packard Photosmart_C4100_series all-in-one
device `v4l:/dev/video0' is a Noname BT878 video (Hauppauge (bt878)) virtual device

---------------------
| 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 0x5711 at 001:005:
    Device URI: hp:/usb/Photosmart_C4100_series?serial=MY6B2G13J904J7
    Device node: /dev/bus/usb/001/005
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/005
# owner: lp
# group: lp
user::rw-
user:alberto:rw-
group::rw-
mask::rw-
other::---

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

error: 10 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
sudo aptitude install --assume-yes libcupsys2-dev cupsys-bsd
sudo aptitude install --assume-yes libdbus-1-dev
sudo aptitude install --assume-yes openssl
sudo aptitude install --assume-yes libjpeg62-dev
sudo aptitude install --assume-yes libsnmp-dev
sudo aptitude install --assume-yes libtool
sudo aptitude install --assume-yes libusb-dev
sudo aptitude install --assume-yes libsane-dev
sudo aptitude install --assume-yes xsane

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

Done.
alberto@host668:~$

P.S.
I forgot to tell you that the hplip I am now using is not the binary one that you can find at sourceforge (I removed it), but the one that I found in Ubuntu 9.04 Jaunty repositories.
Best Regards,
Alberto