You are not logged in.

#1 2012-01-08 11:17:10

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Problems getting HPLIP to work with my printer

Hi.

I've just installed Arch with XFCE, and currently I'm trying to install configure my HP Photosmart D110 as a network printer. I installed HPLIP 3.11.10-2 from the extra repository, plus some of the recommended dependencies to be able to use sane and the HP Graphical Device Manager.

Somehow, I can't properly install my printer.  I ran hp-setup as root.  It first complains that it can not find the ppd file, so I manually select the d110 series ppd.  After that, it seems that it installed correctly, but the printer status at the GUI Device Manager gives an error (device communication error).

This is the output of the terminal:

HP Linux Imaging and Printing System (ver. 3.11.10)
Printer/Fax Setup Utility ver. 9.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.


(process:1028): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(process:1028): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(process:1028): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
QGtkStyle was unable to detect the current GTK+ theme.
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns)
\warning: No PPD found for model photosmart_d110_series using new algorithm. Trying old algorithm...
error: No PPD found for model photosmart_d110 using old algorithm.
error: No appropriate print PPD file found for model photosmart_d110_series

(process:1028): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Done.

I have this printer working on other distros.  On my Arch install, both dbus and cupsd are loaded (I added them to rc.conf previously).  My account is under the lp and sys groups.

What am I missing?

Last edited by angelsguitar (2012-01-08 11:20:00)

Offline

#2 2012-01-08 11:22:04

surfatwork
Member
Registered: 2012-01-05
Posts: 137

Re: Problems getting HPLIP to work with my printer

why dont you install it using cups directly? http://localhost:631/admin/, assuming you have installed cups and run the cupsd daemon

Offline

#3 2012-01-08 14:53:22

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

Tried to install using the cups web interface as root, but I get the following errors:

Add Printer HP_Photosmart_D110_series Error

Unable to get list of printer drivers:

    Unknown

Add Printer HP_Photosmart_D110_series Error

Unable to get list of printer drivers:

    Unknown

Offline

#4 2012-01-08 19:15:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Problems getting HPLIP to work with my printer

Is dbus running?  Is dbus in the DAEMONS array in your /etc/rc.conf

Can you "Ping" your printer?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2012-01-08 19:16:32

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Problems getting HPLIP to work with my printer

Do you have the printer plugged in by usb, or are you accessing it by wifi?

Please provide output from these commands:

hp-check
lpstat

Offline

#6 2012-01-09 10:11:05

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

/dev/zero wrote:

Do you have the printer plugged in by usb, or are you accessing it by wifi?

Please provide output from these commands:

hp-check
lpstat

It is by wifi.

Output of hp-check (as regular user):

HP Linux Imaging and Printing System (ver. 3.11.10)
Dependency/Version Check Utility ver. 14.3

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.

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...
 
---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux A105 3.1.7-1-ARCH #1 SMP PREEMPT Wed Jan 4 08:34:05 UTC 2012 i686 Intel(R) Celeron(R) M processor 1.70GHz GenuineIntel GNU/Linux

Distribution:
unknown 0.0

Checking Python version...
OK, version 2.7.2 installed

Checking PyQt 4.x version...
OK, version 4.9 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.5.0
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.84.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 devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

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...
OK, found.

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)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
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...
OK, found.

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 3.11.10 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=3.11.10

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


Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0



Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/Photosmart_D110_series?zc=HP746F7D"
printer_name = 
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 01/09/2012 06:05:48
version = 3.11.10



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

No devices found.

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

 
Photosmart_D110
---------------
Type: Printer
Device URI: hp:/net/Photosmart_D110_series?zc=HP746F7D
PPD: /etc/cups/ppd/Photosmart_D110.ppd
PPD Description: HP Photosmart d110 Series, hpcups 3.11.10
Printer status: printer Photosmart_D110 is idle.  enabled since Mon 09 Jan 2012 05:55:09 AM AST
error: Unable to communicate with device (code=12): hp:/net/Photosmart_D110_series?zc=HP746F7D
error: unable to open channel
error: Communication status: Failed


----------------------
| 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:/net/Photosmart_D110_series?zc=HP746F7D' is a Hewlett-Packard Photosmart_D110_series all-in-one


---------------------
| 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.


 
---------------
| USER GROUPS |
---------------

sys lp wheel games video audio optical storage scanner power users


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

error: 1 error or warning.

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


Done.

lpstat generates no output hmm

dbus is running.

Offline

#7 2012-01-09 11:44:34

valr
Member
From: Belgium
Registered: 2012-01-08
Posts: 62

Re: Problems getting HPLIP to work with my printer

Not sure it will help, but here is how I install my wireless HP Officejet Printer:

1. Ensure there is nothing installed:  hp-setup -r
2. Disable firewall
3. Probe the printer:  hp-probe -bnet
4. Install the printer:  hp-setup <the_probed_ip_of_the_printer>
5. Enable firewall

(remark: I'm not able to install the printer by simply running hp-setup, there is a 'communication error').

Last edited by valr (2012-01-09 11:46:34)

Offline

#8 2012-01-09 12:17:19

surfatwork
Member
Registered: 2012-01-05
Posts: 137

Re: Problems getting HPLIP to work with my printer

try hp-makeuri <ip address of your printer>. You should get 3 addresses. copy the cups address. open localhost:631 (assuming cups is running), go to add printers, select Appsocket/Hp Jetdirect, continue and on the next screen paste in the cups uri you copied. follow the rest of the steps. let us know if this helps.

Offline

#9 2012-01-09 15:55:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Problems getting HPLIP to work with my printer

ewaller wrote:

Can you "Ping" your printer?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2012-01-09 16:27:52

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

ewaller wrote:
ewaller wrote:

Can you "Ping" your printer?

How do I do that?

Offline

#11 2012-01-09 16:57:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Problems getting HPLIP to work with my printer

angelsguitar wrote:

How do I do that?

Okay,  You have not stated whether you are using the printer as a wireless printer, or whether it is using a cable.  Starting at the printer, you need to establish a connection to your network. 

Wired connections tend to work automatically.  Wireless, not so much.

Some HP printers have nice touchscreen interfaces that let you set the wireless access parameters using nothing but the printer.  Other HP printers require a USB connection to a Windows host running proprietary software to set the wireless parameters.  Once that is done, the printer can be disconnected from the USB and can be accessed from real operating systems.  I do not know which method your D110 uses.

Regardless, once the printer is on the network (wired or wireless) it will have an IP address.  You should be able to determine that address from the printer (diagnostic report, etc...)  If you cannot, you can also determine that address by logging into your router's configuration web page and finding the address that was assigned to the printer.

Once you have the address (it will look something like [this is a hypothetical address] 192.168.1.34).  Open a terminal on your Linux box and type ping followed by the IP address.
This is what it looks like when I ping my router:

ewaller@odin:~ 1001 %ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=0.666 ms
64 bytes from 192.168.1.1: icmp_req=2 ttl=64 time=1.93 ms
64 bytes from 192.168.1.1: icmp_req=3 ttl=64 time=1.77 ms
64 bytes from 192.168.1.1: icmp_req=4 ttl=64 time=0.795 ms
64 bytes from 192.168.1.1: icmp_req=5 ttl=64 time=0.873 ms
64 bytes from 192.168.1.1: icmp_req=6 ttl=64 time=1.20 ms
64 bytes from 192.168.1.1: icmp_req=7 ttl=64 time=0.847 ms

When you have seen enough, kill it with a Ctrl-C.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2012-01-09 17:03:21

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

Ok, it is a wireless connection.  My printer's configuration is actually OK; it is connected to the network. Other computers have no problem printing to it.

I did the ping test, and it ran OK:

PING 192.168.2.4 (192.168.2.4) 56(84) bytes of data.
64 bytes from 192.168.2.4: icmp_req=1 ttl=255 time=33.0 ms
64 bytes from 192.168.2.4: icmp_req=2 ttl=255 time=2.94 ms
64 bytes from 192.168.2.4: icmp_req=3 ttl=255 time=2.95 ms
64 bytes from 192.168.2.4: icmp_req=4 ttl=255 time=2.95 ms
64 bytes from 192.168.2.4: icmp_req=5 ttl=255 time=3.07 ms
64 bytes from 192.168.2.4: icmp_req=6 ttl=255 time=2.84 ms
64 bytes from 192.168.2.4: icmp_req=7 ttl=255 time=3.05 ms
64 bytes from 192.168.2.4: icmp_req=8 ttl=255 time=2.93 ms
64 bytes from 192.168.2.4: icmp_req=9 ttl=255 time=5.86 ms
64 bytes from 192.168.2.4: icmp_req=10 ttl=255 time=2.96 ms

I'm using DHCP; the printer doesn't have a static address asigned.

Offline

#13 2012-01-09 17:22:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Problems getting HPLIP to work with my printer

Looks good.  What happens if you now run hp-setup from the console?  I am not in front of my machine with an HP right now but, IIRC, there are three options when you go to search for a printer.  One option is USB.  Ignore that.  Another option is Network with a USB helper connection.  Ignore that.  The third option is for a pure network machine.  Try that one.  There are also options for "Direct-jet" and maybe SNMP.  Try them both, but prefer SNMP.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#14 2012-01-09 19:20:38

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

Indeed, I installed my printer using hp-setup, both from the console and directly from the GUI manager, and both do the same.  I used the Network option (second one form the top) as my printer is wireless, and doesn't require a USB connection first to set it up.

I'll try again when I'm back at my Arch box again.

Offline

#15 2012-01-09 23:20:04

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

Ok, I tried to install again running hp-setup from the terminal.  Still the same problem; communication error.

Here's the output of the process:

HP Linux Imaging and Printing System (ver. 3.11.10)
Printer/Fax Setup Utility ver. 9.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.

QGtkStyle was unable to detect the current GTK+ theme.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns)
\warning: No PPD found for model photosmart_d110_series using new algorithm. Trying old algorithm...
error: No PPD found for model photosmart_d110 using old algorithm.
error: No appropriate print PPD file found for model photosmart_d110_series

Done.

There's an error about the PPD file, but I just select it manually; no big deal.  The real problem is the communication with the printer.  The installation goes without problem, and the printer is detected, but wehn I check the status or try to print, I get communication errors.

Offline

#16 2012-01-10 03:09:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Problems getting HPLIP to work with my printer

I missed that you had run hp-setup in your first post -- sorry about that.  From that output, it looks like hp-setup is identifying the printer.

This page says your printer is supported by HPLIP versions > 3.10.4.  Arch is at 3.11.10.
I'm going to go off and look at the PKGBUILD for the hplip package.  Back in a while.

edit:  Well, I cannot get the version from abs to compile.  I'll take a look at the one in testing.
edit: The version in testing was updated today and the servers I use don't know about it yet.  I'll check tomorrow

Last edited by ewaller (2012-01-10 05:06:22)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#17 2012-01-10 09:41:33

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

Thanks.

In case it helps, here's the output of hp-check on my Ubuntu 10.04 install (this one works perfectly; it's HPLIP 3.10.6):

HP Linux Imaging and Printing System (ver. 3.10.6)
Dependency/Version Check Utility ver. 14.3

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.

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...
 
---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux StudioPC 2.6.32-37-generic #81-Ubuntu SMP Fri Dec 2 20:32:42 UTC 2011 x86_64 GNU/Linux

Distribution:
ubuntu 10.04

Checking Python version...
OK, version 2.6.5 installed

Checking PyQt 4.x version...
OK, version 4.7.4 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.4.3
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.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 devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

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...
OK, found.

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)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
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...
OK, found.

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 3.10.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=3.10.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.10.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=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=no
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.10.6.15
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = 
working_dir = .
device_uri = "hp:/net/Photosmart_D110_series?zc=HP746F7D"

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[installation]
version = 3.10.6.15
date_time = 01/10/2012 05:29:26

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address = 
voice_phone = 

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list = 
interval = 5



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

No devices found.

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

 
Photosmart_D110
---------------
Type: Printer
Device URI: hp:/net/Photosmart_D110_series?zc=HP746F7D
PPD: /etc/cups/ppd/Photosmart_D110.ppd
PPD Description: HP Photosmart d110 Series, hpcups 3.10.6
Printer status: printer Photosmart_D110 is idle.  enabled since Mon 03 Oct 2011 07:45:13 PM AST
Communication status: Good

SCX-4623-Series
---------------
Type: Unknown
Device URI: usb://Samsung/SCX-4623%20Series
PPD: /etc/cups/ppd/SCX-4623-Series.ppd
PPD Description: Samsung SCX-4623 Series
Printer status: printer SCX-4623-Series is idle.  enabled since Mon 08 Aug 2011 06:47:09 AM AST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

scx4623
-------
Type: Unknown
Device URI: mfp:/dev/mfp4
PPD: /etc/cups/ppd/scx4623.ppd
PPD Description: Samsung SCX-4623 Series
Printer status: printer scx4623 is idle.  enabled since Fri 22 Apr 2011 07:41:29 AM AST
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'...
netdiscovery: relocation error: /lib32/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
netdiscovery: relocation error: /lib32/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
device `smfp:SAMSUNG SCX-4623 Series on USB:0' is a SAMSUNG SCX-4623 Series on USB:0 Flatbed Scanner
device `hpaio:/net/Photosmart_D110_series?zc=HP746F7D' is a Hewlett-Packard Photosmart_D110_series all-in-one


---------------------
| 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.


 
---------------
| USER GROUPS |
---------------

angelsguitar adm lp dialout cdrom audio video plugdev lpadmin admin sambashare


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

error: 2 errors and/or warnings.

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

Offline

#18 2012-01-11 07:36:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Problems getting HPLIP to work with my printer

Well, I am make progress getting it to compile on my system.  I am not there yet, and have been providing feedback to the dev.  The output of configure yields the following:

checking for documentation build... yes
checking for hpijs only build... no
checking for lite build... no
checking for hpcups only build... no
checking for hpijs install... yes
checking for hpcups install... yes
checking for new hpcups install... yes
checking for network build... yes
checking for parallel port build... yes
checking for scanner build... yes
checking for gui build... yes
checking for fax build... yes
checking for dbus build... yes
checking for cups 1.1.x build... no
checking for udev acl rules... yes
checking for shadow build... no
checking for foomatic ppd install... yes
checking for foomatic drv install... yes
checking for cups drv install... yes
checking for cups ppd install... yes
checking for foomatic-rip-hplip install... yes
checking for qt4... yes
checking for qt3... no
checking for policykit... no

Anyway, it looks like the ppd should be installed okay.  Are you using the hpcups or the hpijs file?  What are the errors you are seeing?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#19 2012-01-11 10:17:47

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

ewaller wrote:

Anyway, it looks like the ppd should be installed okay.  Are you using the hpcups or the hpijs file?  What are the errors you are seeing?

I'm mainly using the hpcups file, but tried the hpijs file and it does the same.  It installs OK, but I get communication error 5012 when I try to print or update its status from the GUI Device Manager.

Offline

#20 2012-01-14 11:55:09

angelsguitar
Member
From: Puerto Rico
Registered: 2010-11-07
Posts: 32
Website

Re: Problems getting HPLIP to work with my printer

Ok, finally solved it using the suggestion found here.  Seems the problem was that the avahi-daemon was not installed, which I believe is necessary for networked printers to work properly.

Basically, I installed avahi and nss-mdns then added avahi-daemon to my rc.conf.  After restarting dbus and starting the avahi service, I now get the status updates and printing works normally.

Thanks for all the assistance.

Suggestion: Maybe it would be a good idea to add this to the wiki, in case someone else has the same or a similar problem.

Last edited by angelsguitar (2012-01-14 11:58:02)

Offline

Board footer

Powered by FluxBB