LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Printer Not Printing with HPLIP (https://www.linuxquestions.org/questions/linux-desktop-74/printer-not-printing-with-hplip-721748/)

rajesh.bahl 04-26-2009 04:08 AM

Printer Not Printing with HPLIP
 
Hi.

I have HP MFP 1005 and linux desktop running CentOS 5.3. I tried to configure this MFP with the help of HPLIP software ver 3.9.4 obtained from HPLIP website.

During configure it says that "python-dbus" is not installed. I searched almost every where but could not find python-dbus package. Although dbus-python is installed on the system.Also when it comes to running hp-setup during the install procedure, the printer attached is not detected. We have to set up the printer manually as directed in the install procedure.

After that whenever a print command is issued, nothing gets printed. On running lpstat -t it shows following error:

Unable to start filter "foomatic-rip-hplip"- No such file or directory.


I am giving the output of hp-check -t which is as follows:-

hp-check[2856]: info: :
Initializing. Please wait...
CentOS


5.3


scheduler is running


1.3.7


Linux system.xxxxx.net 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 athlon i386 GNU/Linux


hp-check[2856]: info: :
hp-check[2856]: info: :---------------
hp-check[2856]: info: :| SYSTEM INFO |
hp-check[2856]: info: :---------------
hp-check[2856]: info: :
hp-check[2856]: info: :Basic system information:
hp-check[2856]: info: :Linux system.xxxxx.net 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 athlon i386 GNU/Linux

hp-check[2856]: info: :
hp-check[2856]: info: :Distribution:
hp-check[2856]: info: :centos 5.3
hp-check[2856]: info: :
HPOJ running?
hp-check[2856]: info: :No, HPOJ is not running (OK).
hp-check[2856]: info: :
hp-check[2856]: info: :Checking Python version...
hp-check[2856]: info: :OK, version 2.4.3 installed
hp-check[2856]: info: :
hp-check[2856]: info: :Checking PyQt 4.x version...
error: NOT FOUND OR FAILED TO LOAD!
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for CUPS...
hp-check[2856]: info: :Status: scheduler is running
hp-check[2856]: info: :Version: 1.3.7
hp-check[2856]: info: :error_log is set to level: info
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dbus/python-dbus...
hp-check[2856]: info: :dbus daemon is running.
hp-check[2856]: info: :python-dbus version: 0.70.0
hp-check[2856]: info: :
hp-check[2856]: info: :
hp-check[2856]: info: :------------------------------------
hp-check[2856]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[2856]: info: :------------------------------------
hp-check[2856]: 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[2856]: info: :
hp-check[2856]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: 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[2856]: info: :
hp-check[2856]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: DBus - Message bus system...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: libtool - Library building support services...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: libusb - USB library...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: 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[2856]: info: :
hp-check[2856]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: 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[2856]: info: :
hp-check[2856]: info: :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.
hp-check[2856]: info: :
hp-check[2856]: info: :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.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: Python devel - Python development files...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: Python XML libraries...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :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.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: SANE - Scanning library...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :
hp-check[2856]: info: :----------------------
hp-check[2856]: info: :| HPLIP INSTALLATION |
hp-check[2856]: info: :----------------------
hp-check[2856]: info: :
hp-check[2856]: info: :
hp-check[2856]: info: :Currently installed HPLIP version...
hp-check[2856]: info: :HPLIP 3.9.4 currently installed in '/usr/share/hplip'.
hp-check[2856]: info: :
hp-check[2856]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[2856]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.4

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.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=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
cups-ppd-install=no
cups-drv-install=no
internal-tag=3.9.4.102
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no

hp-check[2856]: info: :
hp-check[2856]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[2856]: info: :[plugin]
eula = 1
installed = 1


hp-check[2856]: info: :
hp-check[2856]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[2856]: info: :[last_used]
device_uri = hp:/usb/HP_LaserJet_M1005?serial=KJ1344N

[commands]
scan_int = False
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%
pcard_int = True
prnt_int = True
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%
fax_int = True
cpy_int = True

[alerts]
email_from_address =
email_alerts = False
email_to_addresses =

[installation]
version = 2.7.12.10
date_time = 01/10/08 13:20:12

[refresh]
rate = 30
enable = False
type = 0


hp-check[2856]: info: :
hp-check[2856]: info: :--------------------------
hp-check[2856]: info: :| DISCOVERED USB DEVICES |
hp-check[2856]: info: :--------------------------
hp-check[2856]: info: :
hp-check[2856]: info: : Device URI Model
hp-check[2856]: info: : -------------------------------- -----------------
hp-check[2856]: info: : hp:/usb/HP_LaserJet_M1005?serial HP LaserJet M1005
=KJ1344N
hp-check[2856]: info: :
hp-check[2856]: info: :---------------------------------
hp-check[2856]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[2856]: info: :---------------------------------
hp-check[2856]: info: :
hp-check[2856]: info: :
hp-check[2856]: info: :hpm1005
hp-check[2856]: info: :-------
hp-check[2856]: info: :Type: Printer
hp-check[2856]: info: :Device URI: hp:/usb/HP_LaserJet_M1005?serial=KJ1344N
hp-check[2856]: info: :PPD: /etc/cups/ppd/hpm1005.ppd
hp-check[2856]: info: :PPD Description: HP LaserJet m1005 hpijs, 3.9.4.102
hp-check[2856]: info: :Printer status: printer hpm1005 is idle. enabled since Sat 25 Apr 2009 05:14:04 PM IST
Unable to start filter "foomatic-rip-hplip" - No such file or directory.

hp-check[2856]: info: :Required plug-in status: Installed
hp-check[2856]: info: :Communication status: Good
hp-check[2856]: info: :
hp-check[2856]: info: :
hp-check[2856]: info: :----------------------
hp-check[2856]: info: :| SANE CONFIGURATION |
hp-check[2856]: info: :----------------------
hp-check[2856]: info: :
hp-check[2856]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[2856]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking output of 'scanimage -L'...
hp-check[2856]: info: :device `hpaio:/usb/HP_LaserJet_M1005?serial=KJ1344N' is a Hewlett-Packard HP_LaserJet_M1005 all-in-one


hp-check[2856]: info: :
hp-check[2856]: info: :---------------------
hp-check[2856]: info: :| PYTHON EXTENSIONS |
hp-check[2856]: info: :---------------------
hp-check[2856]: info: :
hp-check[2856]: info: :Checking 'cupsext' CUPS extension...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking 'pcardext' Photocard extension...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking 'hpmudext' I/O extension...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :Checking 'scanext' SANE scanning extension...
hp-check[2856]: info: :OK, found.
hp-check[2856]: info: :
hp-check[2856]: info: :
hp-check[2856]: info: :
hp-check[2856]: info: :-----------------
hp-check[2856]: info: :| USB I/O SETUP |
hp-check[2856]: info: :-----------------
hp-check[2856]: info: :
hp-check[2856]: info: :Checking for permissions of USB attached printers...
hp-check[2856]: info: :
HP Device 0x3b17 at 001:002:
hp-check[2856]: info: : Device URI: hp:/usb/HP_LaserJet_M1005?serial=KJ1344N
hp-check[2856]: info: : Device node: /dev/bus/usb/001/002
hp-check[2856]: info: : Mode: 0660
hp-check[2856]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/001/002

# owner: lp

# group: lp

user::rw-

group::rw-

other::---




hp-check[2856]: info: :
hp-check[2856]: info: :---------------
hp-check[2856]: info: :| USER GROUPS |
hp-check[2856]: info: :---------------
hp-check[2856]: info: :
hp-check[2856]: info: :root bin daemon sys adm disk wheel


hp-check[2856]: info: :
hp-check[2856]: info: :-----------
hp-check[2856]: info: :| SUMMARY |
hp-check[2856]: info: :-----------
hp-check[2856]: info: :
error: 7 errors and/or warnings.
hp-check[2856]: info: :
hp-check[2856]: info: :Please refer to the installation instructions at:
hp-check[2856]: info: :http://hplip.sourceforge.net/install/index.html

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


Any ideas where lies the problem and how to rectify the same ?



Thanking in Advance
rajesh.bahl

John VV 04-26-2009 12:38 PM

have you tried setting it up using the web interface ?
http://localhost:631/
click on the above link

phirow 05-16-2009 01:46 AM

Hi I am new at this I am trying to install hplip on Xandros had the simalur problems did notice in HP questions have to unistall HPOJ.Hope this helps. Iam now going to post my ?
phirow

DavidMcCann 05-16-2009 11:28 AM

You don't actually need hplip to run an HP printer: it just provides debugging tools and ink monitoring, etc. I had to remove it because it kept taking over Sane and shutting it down because it didn't recognise my Cannon scanner.

rajesh.bahl 05-17-2009 02:41 AM

I had exactly the same problem --- CentOS 5.3 desktops ---not able to use HP MFP 1005. Tried the latest available hplip ver 3.9.4 and ran into the same errors shown by you.

Nothing to worry -- Latest is not always the best !

I removed hplip 3.9.4 and instead tried with hplip 2.8.10.

Every thing started working perfectly !!
Printing and scanning - all are working perfectly OK !!

Hope this helps !




rajesh.bahl


All times are GMT -5. The time now is 06:50 AM.