LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 04-26-2009, 04:08 AM   #1
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 99

Rep: Reputation: 15
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: istribution:
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: ython-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: evice 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: one.


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



Thanking in Advance
rajesh.bahl
 
Old 04-26-2009, 12:38 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,085

Rep: Reputation: 1748Reputation: 1748Reputation: 1748Reputation: 1748Reputation: 1748Reputation: 1748Reputation: 1748Reputation: 1748Reputation: 1748Reputation: 1748Reputation: 1748
have you tried setting it up using the web interface ?
http://localhost:631/
click on the above link
 
Old 05-16-2009, 01:46 AM   #3
phirow
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
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
 
Old 05-16-2009, 11:28 AM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,132

Rep: Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795
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.
 
Old 05-17-2009, 02:41 AM   #5
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 99

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HPLip, printer not printing most things... HP Deskjet D4160 BallsOfSteel Linux - Hardware 1 08-14-2008 01:35 PM
Please help with installing HPLIP and setting up a printer icedlightblue Linux - Software 8 11-12-2007 05:10 PM
Cups & Hplip double sided printing MartyMcFly Linux - Hardware 6 04-07-2007 12:48 PM
HPLIP on Slackware or, getting my printer working Rayston Slackware 5 11-21-2005 01:36 PM
hplip does not support printing to windows printers phats_O Linux - Hardware 1 06-01-2005 03:54 PM


All times are GMT -5. The time now is 04:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration