hp-setup findet keine PPD-Datei für HP LaserJet 1018
Hallo,
ich weiß nicht ob dies nur eine Frage oder sogar schon ein Bug-Report ist:
Für den Laptop eines Freundes habe ich hplip-3.17.6 auf Linux-Mint 18.1 installiert und will damit einen HP LaserJet 1018 betreiben.
Die autoamtische Installation mit hplip-3.17.6.run funktioniert einwandfrei. Auf den Drucker wird bei Anschließen des USB-Kabels seine Firmware hochgeladen. Das Problem taucht erst bei hp-setup auf:
Es wird zwar die richtige URI ermittelt: hp:/usb/
(Das weiß ich, da ich HPLIP 3.16.11 gerade mit dem selben Drucker auf meinem Raspberry Pi 3 mit Raspbian (Jessie) erfolgreich installiert habe, nachdem ich das Kernel-Modul usblp ge"blacklisted" habe.)
Aber es wird keine PPD-Datei für diesen Drucker gefunden! Weder mit dem neuen noch mit dem alten Such-Algorithmus. Siehe dazu die Debug-Ausgaben von hp-setup -i -g und hp-check -t am Ende der Mail.
Verdächtig groß kommt mir die Minimale Distanz vor ("Min. dist = 922337203685477
Ich habe probehalber den PPD-Dateipfad aus meiner Raspbian Installion angegeben (drv://
Ich weiß leider nicht, was das Prefix "drv://" bedeutet und konnte auch leider nichts im Internet finden :-(
Da ich keine PPD-Datei angeben kann, kann keine Drucker-
Da der Drucker mit der älteren HPLIP Version auf meinem Raspberry läuft, weiß ich schon mal, dass der Ducker unter Linux funktioniert, und dass unter Mint 18.1 die Firmware in den Drucker geladen wird. Das Problem liegt also eher an der neueren Version von HPLIP, vielleicht auch im Zusammenhang mit Linux Mint 18.1 Dieses Betriebssystem wird ja erst seit kurzem unterstützt und HPLIP 13.17.6 beinhaltet ja schon einen Bug-Fix dafür.
hp-setup hat scheinbar auch Probleme mit dem Paket system-
Bitte schauen Sie sich das Problem an.
Ich freue mich auf eine Antwort.
Mit freundlichen Grüßen
Tim Knecht
Anhang: Debug Ausgaben
1. hp-setup -i -g
2. hp-check -t
-------
$ hp-setup -i -g
HP Linux Imaging and Printing System (ver. 3.17.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 HP 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[4539]: debug: param=
hp-setup[4539]: debug: selected_
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-------
| SELECT CONNECTION (I/O) TYPE |
-------
Num Connection Description
Type
-------- ---------- -------
0* usb Universal Serial Bus (USB)
1 net Network/
Enter number 0...1 for connection type (q=quit, enter=usb*) ?
Using connection type: usb
hp-setup[4539]: debug:
DEVICE CHOOSER setup_fax=True, setup_print=True
hp-setup[4539]: debug: Cache miss: hp_laserjet_1018
hp-setup[4539]: debug: Reading file: /usr/share/
hp-setup[4539]: debug: Searching for section [hp_laserjet_1018] in file /usr/share/
hp-setup[4539]: debug: Found section [hp_laserjet_1018] in file /usr/share/
hp-setup[4539]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-setup[4539]: debug: Mode=0
Setting up device: hp:/usb/
hp-setup[4539]: debug: Model=HP_
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: /usr/share/
hp-setup[4539]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS...
hp-setup[4539]: debug: CUPS PPD base path = /usr/share/
hp-setup[4539]: debug: Foomatic PPD base path = /usr/share/ppd
-------
| PRINT QUEUE SETUP |
-------
Please enter a name for this print queue (m=use model name:'HP_
Using queue name: HP_LaserJet_1018
Locating PPD file... Please wait.
hp-setup[4539]: debug: Matching PPD list to model laserjet_1018...
hp-setup[4539]: debug: []
hp-setup[4539]: debug: No PPD found for model laserjet_1018 using new algorithm. Trying old algorithm...
hp-setup[4539]: debug: 1st stage edit distance match
hp-setup[4539]: debug: Determining edit distance from laserjet_1018 (only showing edit distances < 4)...
hp-setup[4539]: debug: Min. dist = 9223372036854775807
hp-setup[4539]: debug: {}
hp-setup[4539]: debug: []
hp-setup[4539]: debug: []
error: No PPD found for model laserjet_1018 using old algorithm.
error: Unable to find an appropriate PPD file.
Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? y
Please enter the full filesystem path to the PPD file to use (q=quit) :drv://
error: File not found or not an appropriate (PPD) file.
Please enter the full filesystem path to the PPD file to use (q=quit) :
-------
/usr/bin $ hp-check -t
Saving output in log file: /usr/bin/
HP Linux Imaging and Printing System (ver. 3.17.6)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 HP 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).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
---------------
| SYSTEM INFO |
---------------
Kernel: 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 GNU/Linux
Host: bernhard-
Proc: 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 GNU/Linux
Distribution: 22 18.1
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.17.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro 18.1 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.17.6
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
apparmor=
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.17.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
apparmor_build=yes
Current contents of '/var/lib/
[plugin]
installed = 1
eula = 1
version = 3.17.6
Current contents of '~/.hplip/
[upgrade]
notify_upgrade = true
last_upgraded_time = 1498942538
pending_
latest_
[last_used]
device_uri = hp:/usb/
[installation]
date_time = 01.07.2017 23:43:50
version = 3.17.6
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------
| COMPILEDEP |
--------------
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
-------
| General Dependencies |
-------
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
python-xml Python XML libraries REQUIRED - 2.1.0 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.25 OK -
pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.11.4 OK -
libpthread libpthread - POSIX threads library REQUIRED - 2.23 OK -
python-devel Python devel - Python development files REQUIRED 2.2 2.7.12 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.1.3 OK -
python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.1.3 OK -
python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.12 OK -
python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
sane SANE - Scanning library REQUIRED - 1.0.25 OK -
-------
| Scan Configuration |
-------
scanext Scan-SANE-Extension REQUIRED - 3.17.6 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.17.6 OK 'hpaio found in /etc/sane.
-------
| External Dependencies |
-------
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.18 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.1.3 OK 'CUPS Scheduler is running'
network network -wget OPTIONAL - 1.17.1 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
dbus DBus - Message bus system REQUIRED - 1.10.6 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
-------
| Python Extentions |
-------
hpmudext IO-Extension REQUIRED - 3.17.6 OK -
cupsext CUPS-Extension REQUIRED - 3.17.6 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
No Scanner found.
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
lpstat
------
Type: Unknown
Device URI: Keine Druckziele hinzugefügt.
--------------
| PERMISSION |
--------------
No errors or warnings.
Done.
Question information
- Language:
- German Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Tim Knecht
- Solved:
- Last query:
- Last reply: