error: No appropriate print PPD file found for model hp_laserjet_p1005

Asked by Pedro Alves

I can't setup my P1005 - It's correctly detected but no PPD is downloaded.

Here's the output of hp-setup -g :

HP Linux Imaging and Printing System (ver. 3.9.12)
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[2302]: debug: param=
hp-setup[2302]: debug: Starting GUI loop...
Searching... (bus=usb, search=(None), desc=0)
hp-setup[2302]: debug: Probing bus: usb
hp-setup[2302]: debug: hp:/usb/HP_LaserJet_P1005?serial=BB05VFE
hp-setup[2302]: debug: hp:/usb/HP_LaserJet_P1005?serial=BB05VFE: back_end:hp is_hp:True bus:usb model:HP_LaserJet_P1005 serial:BB05VFE dev_file: host: zc: port:1
hp-setup[2302]: debug: Cache miss: hp_laserjet_p1005
hp-setup[2302]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[2302]: debug: Searching for section [hp_laserjet_p1005] in file /usr/share/hplip/data/models/models.dat
hp-setup[2302]: debug: Found section [hp_laserjet_p1005] in file /usr/share/hplip/data/models/models.dat
hp-setup[2302]: debug: hp:/usb/HP_LaserJet_P1005?serial=BB05VFE: back_end:hp is_hp:True bus:usb model:HP_LaserJet_P1005 serial:BB05VFE dev_file: host: zc: port:1
hp-setup[2302]: debug: hp:/usb/HP_LaserJet_P1005?serial=BB05VFE: back_end:hp is_hp:True bus:usb model:HP_LaserJet_P1005 serial:BB05VFE dev_file: host: zc: port:1
hp-setup[2302]: debug: hp:/usb/HP_LaserJet_P1005?serial=BB05VFE: back_end:hp is_hp:True bus:usb model:HP_LaserJet_P1005 serial:BB05VFE dev_file: host: zc: port:1
hp-setup[2302]: debug: Unable to open file installer/distros.dat for reading.
hp-setup[2302]: debug: []
hp-setup[2302]: debug: plugin is not installed
hp-setup[2302]: debug: hp-plugin -u --required --reason 1
hp-setup[2302]: debug:
HP Linux Imaging and Printing System (ver. 3.9.12)
Plugin Download and Install Utility ver. 2.1

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[2302]: debug: Checking for network connection...
hp-setup[2302]: debug: Downloading configuration file from: http://hplip.sf.net/plugin.conf

hp-setup[2302]: debug: Checking for network connection...
hp-setup[2302]: debug: Downloading plug-in from: http://www.linuxprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.9.12-plugin.run

hp-setup[2302]: debug: Receiving digital keys: /usr/bin/gpg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0xA59047B9 Verifying archive integrity... All good.
Uncompressing HPLIP 3.9.12 Plugin Self Extracting Archive.................................

HP Linux Imaging and Printing System (ver. 3.9.12)
Plugin Installer ver. 3.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.

Plug-in version: 3.9.12
Installed HPLIP version: 3.9.12
Number of files to install: 28

hp-setup[2302]: debug:
Done.
 Plug-in installation successful.

hp-setup[2302]: debug:
Done.

hp-setup[2302]: debug: plugin is installed
hp-setup[2302]: debug: {}
hp-setup[2302]: debug: hp:/usb/HP_LaserJet_P1005?serial=BB05VFE: back_end:hp is_hp:True bus:usb model:HP_LaserJet_P1005 serial:BB05VFE dev_file: host: zc: port:1
hp-setup[2302]: debug: HP_LaserJet_P1005
hp-setup[2302]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS...
hp-setup[2302]: debug: CUPS PPD base path = /usr/share/cups/model
hp-setup[2302]: debug: Foomatic PPD base path = /usr/share/cups/model
hp-setup[2302]: debug: Matching PPD list to model laserjet_p1005...
hp-setup[2302]: debug: []
error: No PPD found for model laserjet_p1005 using new algorithm. Trying old algorithm...
hp-setup[2302]: debug: 1st stage edit distance match
hp-setup[2302]: debug: Determining edit distance from laserjet_p1005 (only showing edit distances < 4)...
hp-setup[2302]: debug: Min. dist = 2147483647
hp-setup[2302]: debug: {}
hp-setup[2302]: debug: []
hp-setup[2302]: debug: []
error: No PPD found for model laserjet_p1005 using old algorithm.
error: No appropriate print PPD file found for model hp_laserjet_p1005

Without a ppd file I can't print - I don't have any on my system for P1005 (or any other that I could find similar)

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Pedro Alves
Solved:
Last query:
Last reply:
Revision history for this message
anup (osta6161) said :
#1

Please run hp-check -t and post it here.

Thanks,

A

Revision history for this message
Pedro Alves (pmgalves) said :
#2

Here goes:

hp-check[14490]: info: :
Initializing. Please wait...
scheduler is running

1.4.2

Linux nicola 2.6.33-smp #1 SMP Sat Feb 27 17:15:36 CST 2010 i686 Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz GenuineIntel GNU/Linux

hp-check[14490]: info: :
hp-check[14490]: info: :---------------
hp-check[14490]: info: :| SYSTEM INFO |
hp-check[14490]: info: :---------------
hp-check[14490]: info: :
hp-check[14490]: info: :Basic system information:
hp-check[14490]: info: :Linux nicola 2.6.33-smp #1 SMP Sat Feb 27 17:15:36 CST 2010 i686 Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz GenuineIntel GNU/Linux

hp-check[14490]: info: :
hp-check[14490]: info: :Distribution:
hp-check[14490]: info: :unknown 0.0
hp-check[14490]: info: :
hp-check[14490]: info: :Checking Python version...
hp-check[14490]: info: :OK, version 2.6.4 installed
hp-check[14490]: info: :
hp-check[14490]: info: :Checking PyQt 4.x version...
hp-check[14490]: info: :OK, version 4.6.2 installed.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for CUPS...
hp-check[14490]: info: :Status: scheduler is running
hp-check[14490]: info: :Version: 1.4.2
hp-check[14490]: info: :error_log is set to level: debug
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dbus/python-dbus...
hp-check[14490]: info: :dbus daemon is running.
hp-check[14490]: info: :python-dbus version: 0.83.0
hp-check[14490]: info: :
hp-check[14490]: info: :
hp-check[14490]: info: :------------------------------------
hp-check[14490]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[14490]: info: :------------------------------------
hp-check[14490]: 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[14490]: info: :
hp-check[14490]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: DBus - Message bus system...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: libtool - Library building support services...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: libusb - USB library...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: 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[14490]: info: :
hp-check[14490]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: Python devel - Python development files...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: Python XML libraries...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: 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[14490]: info: :
hp-check[14490]: info: :Checking for dependency: SANE - Scanning library...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[14490]: info: :OK, found.
hp-check[14490]: info: :
hp-check[14490]: info: :
hp-check[14490]: info: :----------------------
hp-check[14490]: info: :| HPLIP INSTALLATION |
hp-check[14490]: info: :----------------------
hp-check[14490]: info: :
hp-check[14490]: info: :
hp-check[14490]: info: :Currently installed HPLIP version...
hp-check[14490]: info: :HPLIP 3.9.12 currently installed in '/usr/share/hplip'.
hp-check[14490]: info: :
hp-check[14490]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[14490]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.12

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

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

hp-check[14490]: info: :
hp-check[14490]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[14490]: info: :[installation]
date_time=03/04/2010 00:50:55
version=3.9.12.29

[settings]
systray_visible=0
systray_messages=0

[last_used]
device_uri=
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=

hp-check[14490]: info: :
hp-check[14490]: info: :--------------------------
hp-check[14490]: info: :| DISCOVERED USB DEVICES |
hp-check[14490]: info: :--------------------------
hp-check[14490]: info: :
hp-check[14490]: info: : Device URI Model
hp-check[14490]: info: : ---------------------------------------- ------------------------------------
hp-check[14490]: info: : hp:/usb/HP_LaserJet_P1005?serial=BC1J6GA HP LaserJet P1005
hp-check[14490]: info: :
hp-check[14490]: info: :---------------------------------
hp-check[14490]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[14490]: info: :---------------------------------
hp-check[14490]: info: :
hp-check[14490]: info: :
hp-check[14490]: info: :lpstat
hp-check[14490]: info: :------
hp-check[14490]: info: :Type: Unknown
hp-check[14490]: info: :Device URI: No destinations added.
hp-check[14490]: info: :
hp-check[14490]: info: :
hp-check[14490]: info: :----------------------
hp-check[14490]: info: :| SANE CONFIGURATION |
hp-check[14490]: info: :----------------------
hp-check[14490]: info: :
hp-check[14490]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[14490]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[14490]: info: :
hp-check[14490]: info: :Checking output of 'scanimage -L'...
hp-check[14490]: info: :device `v4l:/dev/video0' is a Noname Chicony USB 2.0 Camera virtual device

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

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

# owner: root

# group: lp

user::rw-

group::rw-

other::---

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

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

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

Revision history for this message
anup (osta6161) said :
#3

Please add the user to "lp" group. You might need to check your distro manual to figure out how it can be done.

you can cross-verify whether the user is added to lp group by running below command.
groups

It should show all the groups of the current user and you must see "lp" group listed.

Once done , please add your printer again via hp-setup command.

Hope , it solves your issue.

Thanks,

A

Revision history for this message
Pedro Alves (pmgalves) said :
#4

After adding to lp group, the same thing happens. Message is still the same in console:

rror: No PPD found for model laserjet_p1005 using new algorithm. Trying old algorithm...
error: No PPD found for model laserjet_p1005 using old algorithm.
error: No appropriate print PPD file found for model hp_laserjet_p1005

Also, I was doing it as root, so no permission issues involved

Revision history for this message
anup (osta6161) said :
#5

What is the Linux Distro being used? From log it tells me , "Linux nicola ". How have you installed HPLIP?

I'll suggest use the below configuration settings if you are installing it manually.

For 32 bit OS:

./configure --with-hpppddir=/usr/share/cups/model/HP --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build

After your installation is completed , you should find the ppd file under the folder:
/usr/share/cups/model/HP

Let me know if it solves your issue.

Thanks,

A

Revision history for this message
Pedro Alves (pmgalves) said :
#6

Fixed.

I had an old p1005 file that was generated by cupsddk when I had hpijs. After deleting this files and generating ppd through cups (not hp-setup) I got it working