F4180 under CentOS 5.2

Asked by malak

My printer is a HP Deskjet F4180 connecting via USB. I'm running a Dell P4 2.8 Optiplex (don't quite remember the exact model number ... gotta reboot for that to see the initial screen. )

I can't get the printer to print. Documents printed from the file menu in OO.o 2.3 stagnate in a print queue. I'd like to stick with the CentOS repo version of 2.3 (it's about time that RHEL / CentOS left 2005 behind and is using something current! :) )

The cups daemon is running (it has been stopped and restarted a couple of times, along with a reboot just to be sure even though I knew it likely wouldn't affect things.)

The standard hplip was uninstalled, and mannually installed from the HP website, with all dependencies resolved (rather frustrating to go through five dependency installs one at a time since the manual install of hplip only mentions them one at a time. ) This still didn't work. The manual install was uninstalled and the standard install from the repos was reinstalled.

In the interim, I discovered that the F4180 requires at least hplip 1.7+; CentOS comes with 1.6.something, so I have reinstalled the latest, 2.8.something. The old 1.6.something was uninstalled before the new installation.

The OS does seem to detect the printer, at least when it's on; I have turned it on, unplugged it, and plugged it back in and on at least one occasion it was automatically detected.

The printer does work under linux; I used an Ubuntu 8.04 live cd and printed a test page straight off the bat without any modifications. I am *not* interested in Hardy Heron or any other Ubunto distro, and would like to stay with CentOS.

Any ideas?

Question information

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

Please run hp-check and post the output.
A

Revision history for this message
malak (malak-pobox) said :
#2

Thanks for this, talk about eye-opening. I can see a few issues to deal with on this. I'll come back with results.

HP Linux Imaging and Printing System (ver. 2.8.6)
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 giggi 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:49:24 EDT 2008 i686 i686 i386 GNU/Linux

Distribution:
centos 5.2

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

Checking Python version...
OK, version 2.4.3 installed

Checking PyQt version...
OK, version 3.16 installed.

Checking SIP version...
OK, Version 4.4.5 installed

Checking for CUPS...
Status: scheduler is running
Version: 1.2.4
warning: /etc/cups/cupsd.conf file not found or not accessible.

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

------------------------------------
| 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...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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...
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: python-dbus - Python bindings for dbus...
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: 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.6 currently installed in '/usr/share/hplip'.

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

[hplip]
version=2.8.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.8.6
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=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
internal-tag=2.8.6.20

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

No devices found.

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

Deskjet_F4100_series
--------------------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: hal:///org/freedesktop/Hal/devices/usb_device_3f0_7e04_CN79I4H0M504TJ_if1_printer_CN79I4H0M504TJ
PPD: /etc/cups/ppd/Deskjet_F4100_series.ppd
PPD Description: HP LaserJet 4100 Series v.3010.107 Postscript (recommended)
Printer Paused: printer Deskjet_F4100_series disabled since Wed 23 Jul 2008 05:29:56 AM EDT -
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'...

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...
error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of scanext.

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

Checking for permissions of USB attached printers...

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

error: 10 errors and/or warnings.

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

Done.

Revision history for this message
malak (malak-pobox) said :
#3

I'm quite surprised and disappointed; one of the dependencies mentioned is installed (story of the life of even a current centos box, it's probably too old) and the other nine, surprise surprise, aren't in the repos.

I like CentOS. Yet getting things to work under it is like pulling teeth.

Gotta work on this stuff.

Revision history for this message
malak (malak-pobox) said :
#4

I finally managed to install all of the missing dependencies listed above either manually or by finding the -devel version. I also dealt with the dependencies listed at: http://www.k12ltsp.org/mediawiki/index.php/HPLIP . This was a relatively long process finding all the dependencies.

I did hp-setup and the printer was detected. However, stuff is still not printing; the print queue says that the job is stopped and has a question mark at the end.

Progress, but not there yet.

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

This sounds like a permissions problem, run

groups

and post the output.

A

Revision history for this message
malak (malak-pobox) said :
#6

Wasn't a permissions issue. Under CentOS, root is god and can do anything.

Problem solved.

Solution: Ubuntu 8.04 (ugh.)