HP Photosmart C4180 fails to print with hplip 3.9.8

Asked by Graeme Hilton

I've got hplip 3.9.8 (from the automatic installer) on Fedora 11.

My Photosmart C4180 does not print, although it is recognised by hp-setup.

Here's the output of hp-check -t. Note that I do have dbus-python installed (v0.83.0), but it's not picked up by the script.

[gee@fedora-arm ~]$ cat hp-check.log
hp-check[1866]: info: :
Initializing. Please wait...
scheduler is running

1.4b3

Linux fedora-arm 2.6.30-00000-v2.6.30 #1 PREEMPT Thu Jun 25 22:29:06 PDT 2009 armv5tel armv5tel armv5tel GNU/Linux

hp-check[1866]: info: :
hp-check[1866]: info: :---------------
hp-check[1866]: info: :| SYSTEM INFO |
hp-check[1866]: info: :---------------
hp-check[1866]: info: :
hp-check[1866]: info: :Basic system information:
hp-check[1866]: info: :Linux fedora-arm 2.6.30-00000-v2.6.30 #1 PREEMPT Thu Jun 25 22:29:06 PDT 2009 armv5tel armv5tel armv5tel GNU/Linux
hp-check[1866]: info: :
hp-check[1866]: info: :Distribution:
hp-check[1866]: info: :fedora 11
hp-check[1866]: info: :
hp-check[1866]: info: :Checking Python version...
hp-check[1866]: info: :OK, version 2.6.0 installed
hp-check[1866]: info: :
hp-check[1866]: info: :Checking PyQt 4.x version...
error: NOT FOUND OR FAILED TO LOAD!
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for CUPS...
hp-check[1866]: info: :Status: scheduler is running
hp-check[1866]: info: :Version: 1.4b3
hp-check[1866]: info: :error_log is set to level: debug
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dbus/python-dbus...
hp-check[1866]: info: :dbus daemon is running.
hp-check[1866]: info: :python-dbus version: 0.83.0
hp-check[1866]: info: :
hp-check[1866]: info: :
hp-check[1866]: info: :------------------------------------
hp-check[1866]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[1866]: info: :------------------------------------
hp-check[1866]: 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[1866]: info: :
hp-check[1866]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :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.
hp-check[1866]: info: :To install this dependency, execute this command:
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install cupsddk cupsddk-drivers cupsddk-devel"
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: DBus - Message bus system...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: libtool - Library building support services...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: libusb - USB library...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[1866]: info: :To install this dependency, execute this command:
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install PolicyKit PolicyKit-gnome"
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
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[1866]: info: :To install this dependency, execute this command:
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install dbus-python"
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: Python devel - Python development files...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[1866]: info: :To install this dependency, execute this command:
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install notify-python"
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: Python XML libraries...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: SANE - Scanning library...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[1866]: info: :To install this dependency, execute this command:
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install xsane"
hp-check[1866]: info: :
hp-check[1866]: info: :
hp-check[1866]: info: :----------------------
hp-check[1866]: info: :| HPLIP INSTALLATION |
hp-check[1866]: info: :----------------------
hp-check[1866]: info: :
hp-check[1866]: info: :
hp-check[1866]: info: :Currently installed HPLIP version...
hp-check[1866]: info: :HPLIP 3.9.8 currently installed in '/usr/share/hplip'.
hp-check[1866]: info: :
hp-check[1866]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[1866]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.8

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/share/doc/hplip-3.9.8
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=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.9.8.36
restricted-build=no
ui-toolkit=no
qt3=no
qt4=no
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=no

hp-check[1866]: info: :
hp-check[1866]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[1866]: info: :# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

hp-check[1866]: info: :
hp-check[1866]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[1866]: info: :[last_used]
device_uri = hp:/usb/Photosmart_C4100_series?serial=MY698F10X604J7

[installation]
version = 3.9.8.36
date_time = 08/31/09 12:40:40

hp-check[1866]: info: :
hp-check[1866]: info: :--------------------------
hp-check[1866]: info: :| DISCOVERED USB DEVICES |
hp-check[1866]: info: :--------------------------
hp-check[1866]: info: :
hp-check[1866]: info: : Device URI Model
hp-check[1866]: info: : -------------------------------- --------------------------
hp-check[1866]: info: : hp:/usb/Photosmart_C4100_series? HP Photosmart C4100 series
  serial=MY698F10X604J7
hp-check[1866]: info: :
hp-check[1866]: info: :---------------------------------
hp-check[1866]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[1866]: info: :---------------------------------
hp-check[1866]: info: :
hp-check[1866]: info: :
hp-check[1866]: info: :HP_PSC4100
hp-check[1866]: info: :----------
hp-check[1866]: info: :Type: Printer
hp-check[1866]: info: :Device URI: hp:/usb/Photosmart_C4100_series?serial=MY698F10X604J7
hp-check[1866]: info: :PPD: /etc/cups/ppd/HP_PSC4100.ppd
hp-check[1866]: info: :PPD Description: HP PS c4100 Series hpijs, hpijs 3.9.2
hp-check[1866]: info: :Printer status: printer HP_PSC4100 is idle. enabled since Mon 31Filter "/usr/lib/cups/filter/foomatic-rip" for printer "HP_PSC4100" not available: No such file or directory
error: Unable to connect to dbus session bus.
hp-check[1866]: info: :Communication status: Good
hp-check[1866]: info: :
hp-check[1866]: info: :
hp-check[1866]: info: :----------------------
hp-check[1866]: info: :| SANE CONFIGURATION |
hp-check[1866]: info: :----------------------
hp-check[1866]: info: :
hp-check[1866]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[1866]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking output of 'scanimage -L'...
hp-check[1866]: info: :device `hpaio:/usb/Photosmart_C4100_series?serial=MY698F10X604J7' is a Hewlett-Packard Photosmart_C4100_series all-in-one

hp-check[1866]: info: :
hp-check[1866]: info: :---------------------
hp-check[1866]: info: :| PYTHON EXTENSIONS |
hp-check[1866]: info: :---------------------
hp-check[1866]: info: :
hp-check[1866]: info: :Checking 'cupsext' CUPS extension...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking 'pcardext' Photocard extension...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking 'hpmudext' I/O extension...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :Checking 'scanext' SANE scanning extension...
hp-check[1866]: info: :OK, found.
hp-check[1866]: info: :
hp-check[1866]: info: :
hp-check[1866]: info: :
hp-check[1866]: info: :-----------------
hp-check[1866]: info: :| USB I/O SETUP |
hp-check[1866]: info: :-----------------
hp-check[1866]: info: :
hp-check[1866]: info: :Checking for permissions of USB attached printers...
hp-check[1866]: info: :
HP Device 0x5711 at 001:003:
hp-check[1866]: info: : Device URI: hp:/usb/Photosmart_C4100_series?serial=MY698F10X604J7
hp-check[1866]: info: : Device node: /dev/bus/usb/001/003
hp-check[1866]: info: : Mode: 0660
hp-check[1866]: info: :getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/003
# owner: lp
# group: lp
user::rw-
group::rw-
other::---

hp-check[1866]: info: :
hp-check[1866]: info: :---------------
hp-check[1866]: info: :| USER GROUPS |
hp-check[1866]: info: :---------------
hp-check[1866]: info: :
hp-check[1866]: info: :gee sys lp wheel floppy

hp-check[1866]: info: :
hp-check[1866]: info: :-----------
hp-check[1866]: info: :| SUMMARY |
hp-check[1866]: info: :-----------
hp-check[1866]: info: :
error: 6 errors and/or warnings.
hp-check[1866]: info: :
hp-check[1866]: info: :Summary of needed commands to run to satisfy missing dependencies:
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install cupsddk cupsddk-drivers cupsddk-devel"
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install PolicyKit PolicyKit-gnome"
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install dbus-python"
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install notify-python"
hp-check[1866]: info: :su -c "yum -y -d 10 -e 1 install xsane"
hp-check[1866]: info: :
hp-check[1866]: info: :Please refer to the installation instructions at:
hp-check[1866]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[1866]: info: :
hp-check[1866]: info: :Done.

Question information

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

Looks this is the problem:

/usr/lib/cups/filter/foomatic-rip" for printer "HP_PSC4100" not available: No such file or directory
error: Unable to connect to dbus session bus.

Try removing and reinstalling HPLIP?

Follow this process to uninstall.

http://hplipopensource.com/node/188

Thanks.

Aaron

Revision history for this message
Graeme Hilton (ubuntu-fishter) said :
#2

Uninstalled and reinstalled and the problem was still there.

I then copied the /usr/lib/cups/filter/foomatic-rip file from another Fedora installation onto this machine and it worked fine.

Don't know why the file wasn't installed (or deleted).

Thanks for your help.