HP Officejet 8500 A909a ppd file

Asked by Michael

I am trying to install the driver for an HP OfficeJet Pro 8500 A909a printer under Ubuntu 10.04. I have followed the instructions for installing the latest version of hplip 3.11.5 and the installation appeared to go successfully. At the end of the installation, I ran hp-setup. The printer was listed on the "Select from Discovered Devices" dialog. I selected it and pressed Next. On the Setup Device page, the name of the printer made sense but the entry for "PPD file" was "(Not found. Click browser button to select a PPD file.). I tried to browse for the file but there are no PPD files in the "usr/share/ppd/HP" directory relating to the HP Officejet Pro 8500.

The funny thing is that when I run hp-setup, the program header says, "HP Linux Imaging and Printing System (ver. 3.11.5)" but when I type "dpkg -l hplip" the version number is still 3.10.2.

Questions:
1) Is there a PPD file for the OfficeJet Pro 8500 A909a that I can just drop into the "usr/share/ppd/HP" directory?
2) Where can I get that file?
3) Is something wrong with the installation of 3.11.5 when dpkg is reporting 3.10.2?

Thanks for the help.
Michael

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Srikanth (srikanth-lokare) said :
#1

Hi Machael,

Can you please run "hp-check -t" from the terminal and post the complete output here.

Thanks and Regards,
Srikanth Lokare

Revision history for this message
Michael (cardwellbay) said :
#2

Srikanth,
The full dump follows:

 hp-check -t

HP Linux Imaging and Printing System (ver. 3.11.5)
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 Hebron 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011 i686 GNU/Linux

Distribution:
ubuntu 10.04

Checking Python version...
OK, version 2.6.5 installed

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

Checking for CUPS...
Status: scheduler is not 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.11.5 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.5

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.5
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
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.11.5
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:
[installation]
version = 3.11.5
date_time = 06/14/2011 06:33:12

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

  Device URI Model
  -------------------------------- ---------------------------
  hp:/usb/Officejet_Pro_8500_A909a HP Officejet Pro 8500 A909a
  ?serial=MY96243092

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

lpstat
------
Type: Unknown
Device URI: Connection refused

----------------------
| 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:/usb/Officejet_Pro_8500_A909a?serial=MY96243092' is a Hewlett-Packard Officejet_Pro_8500_A909a 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.

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

Checking for permissions of USB attached printers...

HP Device 0x3812 at 001:003:
    Device URI: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092

HP Linux Imaging and Printing System (ver. 3.11.5)
System Tray Status Service ver. 2.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.

/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
    Device node: /dev/bus/usb/001/003
    Mode: 0664

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

michael adm lp dialout cdrom plugdev lpadmin admin sambashare

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

No errors or warnings.

Done.

Revision history for this message
Srikanth (srikanth-lokare) said :
#3

Hi Michael,

Please try the following command.
1. Login as a root user from the terminal.
2. Run "/etc/init.d/cups restart"
3. Now try to configure the device using "hp-setup" from the terminal.

Thanks for using HPLIP.

Thanks and Regards,
Srikanth Lokare

Revision history for this message
Michael (cardwellbay) said :
#4

Hi Srikanth,

I'm running Ubuntu so I had to use "sudo" instead of root. When I did that, I got the following:

$ sudo /etc/init.d/cups restart
 * Restarting Common Unix Printing System: cupsd
Warning: Fake start-stop-daemon called, doing nothing.

Warning: Fake start-stop-daemon called, doing nothing.
                                                                         [ OK ]

I still don't get anything for the HP OfficeJet Pro 8500 in hp-setup.

Thanks for your help.
Michael

Revision history for this message
Srikanth (srikanth-lokare) said :
#5

Hi Michael,

Can you please try the following.

$sudo service cups restart

Let me know on the same.

Thanks and Regards,
Srikanth Lokare

Revision history for this message
Michael (cardwellbay) said :
#6

Srikanth,

Here is the output

$ sudo service cups restart
[sudo] password for XXXX:
 * Restarting Common Unix Printing System: cupsd
Warning: Fake start-stop-daemon called, doing nothing.

Warning: Fake start-stop-daemon called, doing nothing.
                                                                         [ OK ]

While I appreciate the help, this is line of activity is not getting me closer to a solution. The only thing that appears to be missing from my machine is the .ppd files for the OfficeJet Pro 8500 A909 all-in-one printer. If I had the correct ppd file on my machine I would be able to read it into hp-setup. Whoever has access to the hplip source will also have access to the ppd driver that I need. Where can I get that driver file?

Thanks for your help.

Michael

Revision history for this message
goutam kodu (goutam-hplip) said :
#7

Hi,

What is the status of cups in your system ? Please run the command
$status cups

Let know us the out put.

The PPDs are generated dynamically from the hpcups.drv file during the "hp-setup". Cups will generate the PPD from the hpcups.drv file. Check whether the cups is in the running state. You can reboot the system and run "hp-setup" command. If its still failing to get the PPD. Post the out put of "hp-setup -g" command.

If you have installed the hplip-3.11.5 from hplip-3.11.5.run file by running command "sh hplip-3.11.5.run", there gets generated a hplip source folder "hplip-3.11.5". You can find the PPD for your printer in the path
hplip-3.11.5/ppd/hpcups/. During hp-setup you can browse to this folder and manually pick the PPD and continue the setup.

Thanks & Regards,
Goutam Kodu

Revision history for this message
Michael (cardwellbay) said :
#8

Hi Goutam,
Thank you for your help. From what you said in your message, I was able to find the hplip-3.11.5 installation and it was under the /home/<user account>/Downloads/ directory. Inside of the hplip-3.11.5 directory, it looked like a full installation of the package.

Because the 'hp-setup' program was looking for ppd files in /usr/share/ppd/hplip/HP/ directory as its default location, I decided to move the hplip-3.11.5 directory to be under /usr/share/ along side the existing /usr/share/hplip directory. I then tried to run 'hp-setup' but was not successful.

At that point, I followed your instructions and:
1) Rebooted the machine
2) Typed "$ status cups". The output was

$ status cups

Warning: Fake initctl called, doing nothing.

From this, it looks like cups is either not working or not installed correctly.

3) I then did what you said by typing "hp-setup -g" and I navigated to the file

/usr/share/hplip-3.11-5/ppd/hpcups/hp-officejet-pro_8500_a909a.ppd.gz

in the hope that hp-setup would extract the ppd file from the gzip archive. The following dump is what I got from that attempt. I am confused because the version number is still 3.10.2 rather than the 3.11.5 that I tried to install. Do I have a problem with the installation of 3.11.5 so that the right application is not being read?

$ hp-setup -g

HP Linux Imaging and Printing System (ver. 3.10.2)
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.

hp-setup[1446]: debug: param=
hp-setup[1446]: debug: Starting GUI loop...
Searching... (bus=usb, search=(None), desc=0)
hp-setup[1446]: debug: Probing bus: usb
hp-setup[1446]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092
hp-setup[1446]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: Cache miss: officejet_pro_8500_a909a
hp-setup[1446]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[1446]: debug: Searching for section [officejet_pro_8500_a909a] in file /usr/share/hplip/data/models/models.dat
hp-setup[1446]: debug: Found section [officejet_pro_8500_a909a] in file /usr/share/hplip/data/models/models.dat
hp-setup[1446]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: Unable to open file installer/distros.dat for reading.
hp-setup[1446]: debug: []
hp-setup[1446]: debug: {}
hp-setup[1446]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: Officejet_Pro_8500_A909a
hp-setup[1446]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS...
hp-setup[1446]: debug: CUPS PPD base path = None
hp-setup[1446]: debug: Foomatic PPD base path = /usr/share/ppd/hplip
hp-setup[1446]: debug: Matching PPD list to model officejet_pro_8500_a909a...
hp-setup[1446]: debug: []
error: No PPD found for model officejet_pro_8500_a909a using new algorithm. Trying old algorithm...
hp-setup[1446]: debug: 1st stage edit distance match
hp-setup[1446]: debug: Determining edit distance from officejet_pro_8500_a909a (only showing edit distances < 4)...
hp-setup[1446]: debug: Min. dist = 2147483647
hp-setup[1446]: debug: {}
hp-setup[1446]: debug: []
hp-setup[1446]: debug: []
error: No PPD found for model officejet_pro_8500_a909a using old algorithm.
hp-setup[1446]: debug: {}
hp-setup[1446]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: Searching for fax PPD for model officejet_pro_8500_a909a
error: Unable to locate the HPLIP Fax PPD file: HP-Fax-hpcups.ppd.gz Fax setup has been disabled.
hp-setup[1446]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: fax-type=1
hp-setup[1446]: debug: Device URI: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092
hp-setup[1446]: debug: Printer: None
hp-setup[1446]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: URI: backend=hpfax, is_hp=True, bus=usb, model=Officejet_Pro_8500_A909a, serial=MY96243092, dev=, host=, port=1
hp-setup[1446]: debug: Model/UI model: Officejet_Pro_8500_A909a/HP Officejet Pro 8500 a909a
hp-setup[1446]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1446]: debug: Re-reading CUPS printer queue information.
hp-setup[1446]: debug: Opening device: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092 (not for printing)
hp-setup[1446]: debug: I/O mode=3
hp-setup[1446]: debug: device-id=1
hp-setup[1446]: debug: Opened device: hpfax (backend=hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092, is_hp=True, bus=usb, model=Officejet_Pro_8500_A909a, dev=, serial=MY96243092, host=, port=1)
hp-setup[1446]: debug: Opening HP-MESSAGE channel...
hp-setup[1446]: debug: channel-id=1
hp-setup[1446]: debug: PML/SNMP GET 1.1.3.8 (result code = 0x0) returned:
hp-setup[1446]: debug: 0000: fd e8 39 37 32 2d 34 32 33 2d 30 37 39 31 00 00 ..972-423-0791..
hp-setup[1446]: debug: 0010: 00 00 00 00 00 00 00 .......
hp-setup[1446]: debug: PML/SNMP GET 1.1.3.9 (result code = 0x0) returned:
hp-setup[1446]: debug: 0000: fd e8 4d 69 63 68 61 65 6c 20 4d 61 6e 6e 65 73 ..Michael Mannes
hp-setup[1446]: debug: 0010: 73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 s...............
hp-setup[1446]: debug: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
hp-setup[1446]: debug: 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
hp-setup[1446]: debug: 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ..............
hp-setup[1446]: debug: Closing device...
hp-setup[1446]: debug: Closing HP-MESSAGE channel...
hp-setup[1446]: debug: Result-code = 0
error: No appropriate print PPD file found for model officejet_pro_8500_a909a
hp-setup[1446]: debug: addPrinter('Officejet_Pro_8500_A909a', 'hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092', '', '/usr/share/hplip-3.11.5/ppd/hpcups/hp-officejet_pro_8500_a909a.ppd.gz', '', 'HP Officejet Pro 8500 a909a, hpcups 3.11.5')
hp-setup[1446]: debug: addPrinter() returned (0, Unable to connect to CUPS server)
hp-setup[1446]: debug: {}
error: Printer queue setup failed. Please restart CUPS and try again.

Done.
$

4) What is the command to restart CUPS?

Thanks again for the help.

Michael

Revision history for this message
goutam kodu (goutam-hplip) said :
#9

Hi,

Wondering, when "hp-check -t" out put shows hplip-3.11.5 as the installed version . But hp-setup commad shows the 3.10.2 as the installed version of hplip.

Lets remove the hplip-3.10.2 and reinstall the hplip-3.11.5 from hplip-3.11.5.run file. Please run the below commands to do the same;

#sudo apt-get remove hplip-3.10.2 (this cmd will remove the hplip-3.10.2 package)

#sh hplip-3.11.5.run (this cmd will do the auto - installation of hplip-3.11.5)

After the installation is finished. Run the command "hp-setup -g" and post me the result here.

Let me know on the same.

Thanks & Regards,
Goutam Kodu

Revision history for this message
Michael (cardwellbay) said :
#10

Hi Goutam,
Before I got your message, I noticed that the 3.11.5 installation puts its files in a different directory than 3.10.2. When I went into this directory, I found a gzipped driver file that I gunzipped to get the ppd file for my printer. I then followed the commands you suggested to remove 3.10.2 and to then install 3.11.5. I then ran "hp-setup -g" and got the following output:

$ hp-setup -g

HP Linux Imaging and Printing System (ver. 3.11.5)
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.

hp-setup[1418]: debug: param=
hp-setup[1418]: debug: selected_device_name=None
hp-setup[1418]: debug: Sys.argv=['/usr/bin/hp-setup', '-g'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup[1418]: debug: Starting GUI loop...
Searching... (bus=usb, search=(None), desc=0)
hp-setup[1418]: debug: Probing bus: usb
hp-setup[1418]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092
hp-setup[1418]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: Cache miss: officejet_pro_8500_a909a
hp-setup[1418]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[1418]: debug: Searching for section [officejet_pro_8500_a909a] in file /usr/share/hplip/data/models/models.dat
hp-setup[1418]: debug: Found section [officejet_pro_8500_a909a] in file /usr/share/hplip/data/models/models.dat
hp-setup[1418]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: Unable to open file installer/distros.dat for reading.
hp-setup[1418]: debug: []
hp-setup[1418]: debug: {}
hp-setup[1418]: debug: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hp is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: Officejet_Pro_8500_A909a
hp-setup[1418]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS...
hp-setup[1418]: debug: CUPS PPD base path = None
hp-setup[1418]: debug: Foomatic PPD base path = /usr/share/ppd
hp-setup[1418]: debug: Matching PPD list to model officejet_pro_8500_a909a...
hp-setup[1418]: debug: []
warning: No PPD found for model officejet_pro_8500_a909a using new algorithm. Trying old algorithm...
hp-setup[1418]: debug: 1st stage edit distance match
hp-setup[1418]: debug: Determining edit distance from officejet_pro_8500_a909a (only showing edit distances < 4)...
hp-setup[1418]: debug: Min. dist = 2147483647
hp-setup[1418]: debug: {}
hp-setup[1418]: debug: []
hp-setup[1418]: debug: []
error: No PPD found for model officejet_pro_8500_a909a using old algorithm.
hp-setup[1418]: debug: {}
hp-setup[1418]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: Searching for fax PPD for model officejet_pro_8500_a909a
hp-setup[1418]: debug: Found fax PPD: /usr/share/ppd/HP/HP-Fax-hpcups.ppd.gz
hp-setup[1418]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: fax-type=1
hp-setup[1418]: debug: Device URI: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092
hp-setup[1418]: debug: Printer: None
hp-setup[1418]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: URI: backend=hpfax, is_hp=True, bus=usb, model=Officejet_Pro_8500_A909a, serial=MY96243092, dev=, host=, port=1
hp-setup[1418]: debug: Model/UI model: Officejet_Pro_8500_A909a/HP Officejet Pro 8500 a909a
hp-setup[1418]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: Re-reading CUPS printer queue information.
hp-setup[1418]: debug: Opening device: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092 (not for printing)
hp-setup[1418]: debug: I/O mode=3
hp-setup[1418]: debug: device-id=1
hp-setup[1418]: debug: Opened device: hpfax (backend=hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092, is_hp=True, bus=usb, model=Officejet_Pro_8500_A909a, dev=, serial=MY96243092, host=, port=1)
hp-setup[1418]: debug: Opening HP-MESSAGE channel...
hp-setup[1418]: debug: channel-id=1
hp-setup[1418]: debug: PML/SNMP GET 1.1.3.8 (result code = 0x0) returned:
hp-setup[1418]: debug: 0000: fd e8 39 37 32 2d 34 32 33 2d 30 37 39 31 00 00 ..972-423-0791..
hp-setup[1418]: debug: 0010: 00 00 00 00 00 00 00 .......
hp-setup[1418]: debug: PML/SNMP GET 1.1.3.9 (result code = 0x0) returned:
hp-setup[1418]: debug: 0000: fd e8 4d 69 63 68 61 65 6c 20 4d 61 6e 6e 65 73 ..Michael Mannes
hp-setup[1418]: debug: 0010: 73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 s...............
hp-setup[1418]: debug: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
hp-setup[1418]: debug: 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
hp-setup[1418]: debug: 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ..............
hp-setup[1418]: debug: Closing device...
hp-setup[1418]: debug: Closing HP-MESSAGE channel...
hp-setup[1418]: debug: Result-code = 0
error: No appropriate print PPD file found for model officejet_pro_8500_a909a
hp-setup[1418]: debug: addPrinter('Officejet_Pro_8500_A909a', 'hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092', '', '/usr/share/hplip-3.11.5/ppd/hpcups/hp-officejet_pro_8500_a909a.ppd', '', 'HP Officejet Pro 8500 a909a, hpcups 3.11.5')
hp-setup[1418]: debug: addPrinter() returned (0, Unable to connect to CUPS server)
hp-setup[1418]: debug: {}
error: Printer queue setup failed. Could not connect to CUPS Server Is user added to "lpadmin" group(s)
hp-setup[1418]: debug: addPrinter('Officejet_Pro_8500_A909a_fax', 'hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092', '', '/usr/share/ppd/HP/HP-Fax-hpcups.ppd.gz', '', '')
hp-setup[1418]: debug: addPrinter() returned (0, Unable to connect to CUPS server)
hp-setup[1418]: debug: {}
error: Fax queue setup failed. Please restart CUPS and try again.
hp-setup[1418]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: fax-type=1
hp-setup[1418]: debug: Device URI: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092
hp-setup[1418]: debug: Printer: None
hp-setup[1418]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: URI: backend=hpfax, is_hp=True, bus=usb, model=Officejet_Pro_8500_A909a, serial=MY96243092, dev=, host=, port=1
hp-setup[1418]: debug: Model/UI model: Officejet_Pro_8500_A909a/HP Officejet Pro 8500 a909a
hp-setup[1418]: debug: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092: back_end:hpfax is_hp:True bus:usb model:Officejet_Pro_8500_A909a serial:MY96243092 dev_file: host: zc: port:1
hp-setup[1418]: debug: Re-reading CUPS printer queue information.
hp-setup[1418]: debug: Opening device: hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092 (not for printing)
hp-setup[1418]: debug: I/O mode=3
hp-setup[1418]: debug: device-id=1
hp-setup[1418]: debug: Opened device: hpfax (backend=hpfax:/usb/Officejet_Pro_8500_A909a?serial=MY96243092, is_hp=True, bus=usb, model=Officejet_Pro_8500_A909a, dev=, serial=MY96243092, host=, port=1)
hp-setup[1418]: debug: Opening HP-MESSAGE channel...
hp-setup[1418]: debug: channel-id=1
hp-setup[1418]: debug: PML/SNMP SET 1.1.3.9 (result code = 0x0) to:
hp-setup[1418]: debug: 0000: 00 0e 4d 69 63 68 61 65 6c 20 4d 61 6e 6e 65 73 ..Michael Mannes
hp-setup[1418]: debug: 0010: 73 s
hp-setup[1418]: debug: PML/SNMP SET 1.1.3.8 (result code = 0x0) to:
hp-setup[1418]: debug: 0000: 00 0e 39 37 32 2d 34 32 33 2d 30 37 39 31 ..972-423-0791
hp-setup[1418]: debug: Closing device...
hp-setup[1418]: debug: Closing HP-MESSAGE channel...
hp-setup[1418]: debug: Result-code = 0

Done.

***********************************

When I type "status cups" I get:

$ status cups

Warning: Fake initctl called, doing nothing.

***********************************

I tried to restart cups as follows:

$ sudo /etc/init.d/cups restart
 * Restarting Common Unix Printing System: cupsd
Warning: Fake start-stop-daemon called, doing nothing.

Warning: Fake start-stop-daemon called, doing nothing.
                                                                         [ OK ]

************************

It looks like something is wrong with CUPS.

Michael

Revision history for this message
Srikanth (srikanth-lokare) said :
#11

Hi Michael,

You are correct, there is some thing wrong with your CUPS. Can you please try the following command

$sudo apt-get install --reinstall cups

Now try to configure the print queue using "hp-setup" from the terminal. Please let us know on the same.

Thanks and Regards,
Srikanth Lokare

Revision history for this message
Michael (cardwellbay) said :
#12

HI Srikanth,

I did as you suggested and reinstalled cups. The output was as follows:

$ sudo apt-get install --reinstall cups
[sudo] password for XXXX:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/1,943kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 157389 files and directories currently installed.)
Preparing to replace cups 1.4.3-1ubuntu1.3 (using .../cups_1.4.3-1ubuntu1.3_i386.deb) ...
Unpacking replacement cups ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Setting up cups (1.4.3-1ubuntu1.3) ...

After this, I ran hp-setup once more. The output was:

$ hp-setup

HP Linux Imaging and Printing System (ver. 3.11.5)
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.

Searching... (bus=usb, search=(None), desc=0)
/warning: No PPD found for model officejet_pro_8500_a909a using new algorithm. Trying old algorithm...
error: No PPD found for model officejet_pro_8500_a909a using old algorithm.
error: No appropriate print PPD file found for model officejet_pro_8500_a909a
error: Printer queue setup failed. Could not connect to CUPS Server Is user added to "lpadmin" group(s)
error: Fax queue setup failed. Please restart CUPS and try again.

Done.

I've been told that there is a bug with long file names in the Ubuntu 10.04 Lucid Lynx CUPS package. I've been told that the long file name bug was fixed in CUPS for Ubuntu 10.10 Maverick Meerkat. I know that the printer worked fine on Ubuntu 10.10 Maverick Meerkat so I am going to try to upgrade back to 10.10. I had to revert back to 10.04 Lucid Lynx after having lots of problems with 11.04 Natty Narwhal not being able to run the applications that I use. It may take me a couple of days to get time aside to do this but I will post the results when I get them.

Thanks again for the help.
Michael

Revision history for this message
Srikanth (srikanth-lokare) said :
#13

Hi Michael,

What is the status of CUPS now? Can you please run the below command and post the output here.

$status cups

Also post the output of "hp-check -t" again.

Thanks and Regards,
Srikanth Lokare

Revision history for this message
Michael (cardwellbay) said :
#14

Hi Srikanth,
The printer works fine under Ubuntu 11.04 Natty Narwhal and 10.10 Maverick Meerkat but it does not work under 10.04 Lucid Lynx. The problem appears to be with CUPS rather than with hplip. Under Lucid Lynx, CUPS doesn't even seem to be running.

The outputs that you have requested have not changed under Ubuntu 10.04 Lucid Lynx and are as follows:

$ status cups

Warning: Fake initctl called, doing nothing.
$
$ hp-check -t

HP Linux Imaging and Printing System (ver. 3.11.5)
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 Hebron 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011 i686 GNU/Linux

Distribution:
ubuntu 10.04

Checking Python version...
OK, version 2.6.5 installed

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

Checking for CUPS...
Status: scheduler is not 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.11.5 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.5

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.5
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
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.11.5
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:
[installation]
version = 3.11.5
date_time = 06/28/2011 18:40:38

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

  Device URI Model
  -------------------------------- ---------------------------
  hp:/usb/Officejet_Pro_8500_A909a HP Officejet Pro 8500 A909a
  ?serial=MY96243092

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

lpstat
------
Type: Unknown
Device URI: Connection refused

----------------------
| 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:/usb/Officejet_Pro_8500_A909a?serial=MY96243092' is a Hewlett-Packard Officejet_Pro_8500_A909a 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.

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

Checking for permissions of USB attached printers...

HP Device 0x3812 at 001:007:
    Device URI: hp:/usb/Officejet_Pro_8500_A909a?serial=MY96243092

HP Linux Imaging and Printing System (ver. 3.11.5)
System Tray Status Service ver. 2.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.

/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
    Device node: /dev/bus/usb/001/007
    Mode: 0664

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

michael adm lp dialout cdrom plugdev lpadmin admin sambashare

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

No errors or warnings.

Done.

Revision history for this message
Launchpad Janitor (janitor) said :
#15

This question was expired because it remained in the 'Open' state without activity for the last 15 days.