ubuntuusers.de

Problem mit HP Drucker

Status: Gelöst | Ubuntu-Version: Ubuntu 18.04 (Bionic Beaver)
Antworten |

gaerchle

(Themenstarter)

Anmeldungsdatum:
16. Januar 2019

Beiträge: 18

so. Alles ausgeführt. Und wie schon bei meinen ersten Versuchen, kann das Plugin irgendwie nicht installiert werden.

------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: 
Downloading plug-in: [\                                   ] 0% Receiving digital keys: /usr/bin/gpg --homedir /home/georg/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
()
error: Unable to recieve key from keyserver
Do you still want to install the plug-in? (y=yes, n=no*, q=quit) ? y

----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.18.12 Plugin Self Extracting Archive.........................................................

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

Plug-in version: 3.18.12
Installed HPLIP version: 3.18.12
Number of files to install: 55

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in          


These License Terms govern your Use of the HPLIP Driver Plug-in Software (the   
"Software"). USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, ANY             
DOCUMENTATION, IS SUBJECT TO THESE LICENSE TERMS AND THE APPLICABLE AS-IS       
WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING THE SOFTWARE, YOU ARE AGREEING
TO BE BOUND BY THESE TERMS. IF YOU DO NOT AGREE TO ALL OF THESE TERMS, DO NOT   
DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.                               


1. License Grant. HP grants you a license to Use one copy of the Software with  
HP printing products only. "Use" includes using, storing, loading, installing,  
executing, and displaying the Software. You may not modify the Software or      
disable any licensing or control features of the Software.                      


2. Ownership. The Software is owned and copyrighted by HP or its third party    
suppliers. Your license confers no title to, or ownership in, the Software and  
is not a sale of any rights in the Software. HP's third party suppliers may     
protect their rights in the Software in the event of any violation of these     
license terms.                                                                  


3. Copies and Adaptations. You may only make copies or adaptations of the       
Software for archival purposes or when copying or adaptation is an essential    
step in the authorized Use of the Software. You must reproduce all copyright    
notices in the original Software on all copies or adaptations. You may not copy 
the Software onto any public network.                                           


4. No Disassembly. You may not Disassemble the Software unless HP's prior       
written consent is obtained. "Disassemble" includes disassembling, decompiling, 
decrypting, and reverse engineering. In some jurisdictions, HP's consent may not
be required for limited Disassembly. Upon request, you will provide HP with     
reasonably detailed information regarding any Disassembly.                      


5. No Transfer. You may not assign, sublicense or otherwise transfer all or any 
part of these License Terms or the Software.                                    


6. Termination. HP may terminate your license, upon notice, for failure to      
comply with any of these License Terms. Upon termination, you must immediately  
destroy the Software, together with all copies, adaptations and merged portions 
in any form.                                                                    


7. Export Requirements. You may not export or re-export the Software or any copy
or adaptation in violation of any applicable laws or regulations.               


8. U.S. Government Restricted Rights. The Software has been developed entirely  
at private expense. It is delivered and licensed, as defined in any applicable  
DFARS, FARS, or other equivalent federal agency regulation or contract clause,  
as either "commercial computer software" or "restricted computer software",     
whichever is applicable. You have only those rights provided for such Software  
by the applicable clause or regulation or by these License Terms.               


9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, 
HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL FAULTS, AND      
HEREBY DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR
STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND               
NON-INFRINGEMENT, ANY IMPLIED WARRANTIES, DUTIES OR CONDITIONS OF               
MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES ALL
WITH REGARD TO THE SOFTWARE. Some states/jurisdictions do not allow exclusion of
implied warranties or limitations on the duration of implied warranties, so the 
above disclaimer may not apply to you in its entirety.                          


10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur,  
the entire liability of HP and any of its suppliers under any provision of this 
agreement and your exclusive remedy for all of the foregoing shall be limited to
the greater of the amount actually paid by you separately for the Software or   
U.S. $5.00. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL
HP OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,                      
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO,   
DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS  
INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY 
WAY RELATED TO THE USE OF OR INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN     
CONNECTION WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS 
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF 
ITS ESSENTIAL PURPOSE. Some states/jurisdictions do not allow the exclusion or  
limitation of incidental or consequential damages, so the above limitation or   
exclusion may not apply to you.                                                 

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y
Please enter the sudoer (georg)'s password: 
Plugin installation failed
error: Plugin installation failed

Done.
 
Done.


RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in   
when you started this installer, you will need to either restart your PC or     
unplug and re-plug in your printer (USB cable only). If you choose to restart,  
run this command after restarting: hp-setup (Note: If you are using a parallel  
connection, you will have to restart your PC. If you are using network/wireless,
you can ignore and continue).                                                   

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : 

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Antworte jetzt nur hier 😉 Bei deinem Drucker ist das Plugin Optional,sowie

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.18.12 Plugin Self Extracting Archive.....
Plug-in version: 3.18.12

Aber mal sehen – Drucken sollte er.

gaerchle

(Themenstarter)

Anmeldungsdatum:
16. Januar 2019

Beiträge: 18

Habs zu spät gesehen. 😳 Soll ich

 Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.18.12 Plugin Self Extracting Archive.....
Plug-in version: 3.18.12 

noch in den Terminal eingeben? Wenn ich jetzt versuche zu drucken erhalte ich eine Fehlermeldung "Druckerfilter für den Drucker HP_LaserJet_1022_2 fehlt"

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Nein das war nur ein Hinweis 😉 Zeige nun mal

hp-diagnose_queues -i

hp-check -r

gaerchle

(Themenstarter)

Anmeldungsdatum:
16. Januar 2019

Beiträge: 18

1.

HP Linux Imaging and Printing System (ver. 3.18.12)
AutoConfig Utility to check queues configuration ver. 1.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.

warning: Fail to read ppd=/etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd
warning: Could not complete Queue(s) configuration check

Der andere HP-Drucker ist erstmal egal. Ich hoffe, dass er zu guter Letzt auch noch geht 😉

2.

Saving output in log file: /home/georg/hplip-3.18.12/hp-check.log

HP Linux Imaging and Printing System (ver. 3.18.12)
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.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
 Host: georg-ThinkPad-T410
 Proc: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.18.12
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  18.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.18.12

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.18.12
html=/usr/share/doc/hplip-3.18.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# 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-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.18.12
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.18.12



Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1547744673
pending_upgrade_time = 0
latest_available_version = 3.17.10

[installation]
date_time = 17.01.2019 18:30:32
version = 3.18.12

[settings]
systray_visible = 0
systray_messages = 1

[last_used]
device_uri = hp:/usb/HP_LaserJet_1022?serial=JM026AC
printer_name = HP_LaserJet_1022
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 = 


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------
| COMPILEDEP |
--------------

 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.3.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.1.0           OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.2.5           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        -               -               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.12.1          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.27            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.15          OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.12.1          OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.15          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        -               -               OK         -

----------------------
| Scan Configuration |
----------------------

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.18.12         OK         -
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.18.12         OK         'hpaio found in /etc/sane.d/dll.conf'

-------------------------
| External Dependencies |
-------------------------

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
 network              network -wget                                                OPTIONAL        -               1.19.4          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.12.2          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

---------------------
| Python Extentions |
---------------------

 hpmudext             IO-Extension                                                 REQUIRED        -               3.18.12         OK         -
 cupsext              CUPS-Extension                                               REQUIRED        -               3.18.12         OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

/error: HPLIP cannot detect devices in your network. This may be due to existing firewall settings blocking the required ports like (5353/udp). When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.

 http://hplipopensource.com/node/375
No Scanner found.

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

  Device URI                        Model           
  --------------------------------  ----------------
  hp:/usb/HP_LaserJet_1022?serial=  HP LaserJet 1022
  JM026AC                                           

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

 
HP-LaserJet-Pro-MFP-M125nw
--------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7J7YD8N
PPD: /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd ppd file
PPD Description: 
Printer status: Drucker HP-LaserJet-Pro-MFP-M125nw ist deaktiviert seit So 19 Aug 2018 1Backend /usr/lib/cups/backend/hp does not exist!
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7J7YD8N
error: Device not found
error: Communication status: Failed

HP_LaserJet_1022_2
------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1022?serial=JM026AC
PPD: /etc/cups/ppd/HP_LaserJet_1022_2.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_1022_2.ppd ppd file
PPD Description: 
Printer status: Drucker HP_LaserJet_1022_2 ist deaktiviert seit Mi 16 Jan 2019 17:15:31 Backend /usr/lib/cups/backend/hp does not exist!
Communication status: Good


--------------
| PERMISSION |
--------------

USB             HP_LaserJet_1022_2             Required        -        -        OK       Node:'/dev/bus/usb/002/005' Perm:'  root  lp rw- rw- rw- rw- r--'
 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None


Total Errors: 1
Total Warnings: 0


Done.

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Nun ja,hast du deine Firewal aktiv eingestellt?

/error: HPLIP cannot detect devices in your network. This may be due to existing firewall settings blocking the required ports like (5353/udp). When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.

Wir müssen noch etwas Stochern.Erst mal alles auf 0

sudo rm /etc/cups/ppd/*

Zeige noch mal

dpkg -l cups* lsb printer-driver-hpcups hplip-* hplip libsane-hpaio

gaerchle

(Themenstarter)

Anmeldungsdatum:
16. Januar 2019

Beiträge: 18

1.

dpkg -l cups* lsb printer-driver-hpcups hplip-* hplip libsane-hpaio
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name           Version      Architektur  Beschreibung
+++-==============-============-============-=================================
ii  cups           2.2.7-1ubunt amd64        Common UNIX Printing System(tm) -
ii  cups-browsed   1.20.2-0ubun amd64        OpenPrinting CUPS Filters - cups-
ii  cups-bsd       2.2.7-1ubunt amd64        Common UNIX Printing System(tm) -
ii  cups-client    2.2.7-1ubunt amd64        Common UNIX Printing System(tm) -
ii  cups-common    2.2.7-1ubunt all          Common UNIX Printing System(tm) -
ii  cups-core-driv 2.2.7-1ubunt amd64        Common UNIX Printing System(tm) -
ii  cups-daemon    2.2.7-1ubunt amd64        Common UNIX Printing System(tm) -
ii  cups-filters   1.20.2-0ubun amd64        OpenPrinting CUPS Filters - Main 
ii  cups-filters-c 1.20.2-0ubun amd64        OpenPrinting CUPS Filters - Drive
un  cups-filters-i <keine>      <keine>      (keine Beschreibung vorhanden)
un  cups-filters-i <keine>      <keine>      (keine Beschreibung vorhanden)
un  cups-filters-l <keine>      <keine>      (keine Beschreibung vorhanden)
ii  cups-ipp-utils 2.2.7-1ubunt amd64        Common UNIX Printing System(tm) -
un  cups-pdf       <keine>      <keine>      (keine Beschreibung vorhanden)
ii  cups-pk-helper 0.2.6-1ubunt amd64        PolicyKit helper to configure cup
ii  cups-ppdc      2.2.7-1ubunt amd64        Common UNIX Printing System(tm) -
ii  cups-server-co 2.2.7-1ubunt all          Common UNIX Printing System(tm) -
un  hplip          <keine>      <keine>      (keine Beschreibung vorhanden)
ii  lsb            9.20170808ub all          Linux Standard Base support packa
un  printer-driver <keine>      <keine>      (keine Beschreibung vorhanden)
dpkg-query: Kein Paket gefunden, das auf hplip-3.18.12 passt
dpkg-query: Kein Paket gefunden, das auf hplip-3.18.12.run passt
dpkg-query: Kein Paket gefunden, das auf libsane-hpaio passt
georg@georg-ThinkPad-T410:~/hplip-3.18.12$ 

Oder soll ich auf die unterste Verzeichnis-Ebene wechseln? Ich wüsste nicht, dass ich meine Firewall aktiv eingestellt habe :-/

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Was du schon erwähnt hast,habe ich gerade gefunden 😕

HP LaserJet 1022 Printer 	2.7.10 	Optional 	Full (End of support)

Der wird mit dem Treiber nicht laufen.Mache mich mal schlau und melde mich nachher nochmal.

gaerchle

(Themenstarter)

Anmeldungsdatum:
16. Januar 2019

Beiträge: 18

Okay. Ich muss auch erstmal Schluss machen. Schonmal tausend Dank für Deine Hilfe.

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Hmm,bin etwas Sprachlos ☺ Das ermittle ich bei mir

gutenprint.5.2://hp-lj_1022/expert HP LaserJet 1022 - CUPS+Gutenprint v5.2.13
drv:///hp/hpcups.drv/hp-laserjet_1022-pcl3.ppd HP LaserJet 1022 pcl3, hpcups 3.18.9, requires proprietary plugin
lsb/usr/HP/hp-laserjet_1022-pcl3.ppd.gz HP LaserJet 1022 pcl3, hpcups 3.18.9, requires proprietary plugin

Zeige mal nach einem Neustart

ls -l /usr/lib/cups/backend/hp

lpinfo -m | grep 1022

gaerchle

(Themenstarter)

Anmeldungsdatum:
16. Januar 2019

Beiträge: 18

Guten Morgen. Hab ein knappes Stündchen Zeit. Hier das Ergebnis nach Neustart.

georg@georg-ThinkPad-T410:~$ ls -l /usr/lib/cups/backend/hp
-rwx------ 1 root root 55304 Jan 17 18:03 /usr/lib/cups/backend/hp
georg@georg-ThinkPad-T410:~$ lpinfo -m | grep 1022
gutenprint.5.2://hp-lj_1022/expert HP LaserJet 1022 - CUPS+Gutenprint v5.2.13
foo2zjs:0/ppd/foo2zjs/HP-LaserJet_1022.ppd HP LaserJet 1022 Foomatic/foo2zjs-z1 (recommended)
drv:///hp/hpcups.drv/hp-laserjet_1022-pcl3.ppd HP LaserJet 1022 pcl3, hpcups 3.18.12, requires proprietary plugin
lsb/usr/HP/hp-laserjet_1022-pcl3.ppd.gz HP LaserJet 1022 pcl3, hpcups 3.18.12, requires proprietary plugin
foo2zjs:0/ppd/foo2zjs/HP-LaserJet_1022n.ppd HP LaserJet 1022n Foomatic/foo2zjs-z1 (recommended)
drv:///hp/hpcups.drv/hp-laserjet_1022n-pcl3.ppd HP LaserJet 1022n pcl3, hpcups 3.18.12, requires proprietary plugin
lsb/usr/HP/hp-laserjet_1022n-pcl3.ppd.gz HP LaserJet 1022n pcl3, hpcups 3.18.12, requires proprietary plugin
foo2zjs:0/ppd/foo2zjs/HP-LaserJet_1022nw.ppd HP LaserJet 1022nw Foomatic/foo2zjs-z1 (recommended)
drv:///hp/hpcups.drv/hp-laserjet_1022nw-pcl3.ppd HP LaserJet 1022nw pcl3, hpcups 3.18.12, requires proprietary plugin
lsb/usr/HP/hp-laserjet_1022nw-pcl3.ppd.gz HP LaserJet 1022nw pcl3, hpcups 3.18.12, requires proprietary plugin
gutenprint.5.2://ricoh-afc_1022/expert Ricoh Aficio 1022 - CUPS+Gutenprint v5.2.13
openprinting-ppds:0/ppd/openprinting/Ricoh/PS/Ricoh-Aficio_1022_PS.ppd Ricoh Aficio 1022 PS
openprinting-ppds:0/ppd/openprinting/Ricoh/PXL/Ricoh-Aficio_1022_PXL.ppd Ricoh Aficio 1022 PXL

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Moin moin 😉 Hast du schon mal neu gestartet? "Eigentlich" ist alles da,auch das bemängelte backend von HP.Du hast die Möglichkeit 3 Treiber zu Probieren.

Teste mal den Foomatic oder den Gutenprint

system-config-printer

Wähle den HP 1022.Bei Einstellungen wähle >Marke und Modell< gehe auf >Ändern< wähle den HP aus (Screenshot) und probiere zu Drucken.Zeige auch nochmal

hp-doctor
Bilder

gaerchle

(Themenstarter)

Anmeldungsdatum:
16. Januar 2019

Beiträge: 18

Jupp. Funktioniert. 👍 Den anderen Drucker habe ich vorhin zu Hause ausprobiert. Der tut's jetzt auch nicht mehr. Ich werde da auch nochmal den Treiber auswählen nach dem gleichen Prinzip. Melde mich nochmal, falls der jetzt nicht geht. 😉 Ansonsten vielen Dank. Hier nochmal

hp-doctor
HP Linux Imaging and Printing System (ver. 3.18.12)
Self Diagnse Utility and Healing Utility ver. 1.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 Linux Imaging and Printing System (ver. 3.18.12)
Self Diagnse Utility and Healing Utility ver. 1.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.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.18.12)
HPLIP upgrade latest version ver. 1.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.

Latest version of HPLIP is already installed.


Checking for Dependencies....

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
 Host: georg-ThinkPad-T410
 Proc: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.18.12
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  18.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.18.12

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.18.12
html=/usr/share/doc/hplip-3.18.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# 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-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.18.12
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.18.12



Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1547744673
pending_upgrade_time = 0
latest_available_version = 3.17.10

[installation]
date_time = 18.01.2019 17:02:07
version = 3.18.12

[settings]
systray_visible = 0
systray_messages = 1

[last_used]
device_uri = "hp:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7J7YD8N"
printer_name = HP_LaserJet_1022
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 = 


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------
| COMPILEDEP |
--------------

 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.3.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.1.0           OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.2.5           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        -               -               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.12.1          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.27            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.15          OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.12.1          OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.15          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        -               -               OK         -

----------------------
| Scan Configuration |
----------------------

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.18.12         OK         -
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.18.12         OK         'hpaio found in /etc/sane.d/dll.conf'

-------------------------
| External Dependencies |
-------------------------

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
 network              network -wget                                                OPTIONAL        -               1.19.4          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.12.2          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

---------------------
| Python Extentions |
---------------------

 hpmudext             IO-Extension                                                 REQUIRED        -               3.18.12         OK         -
 cupsext              CUPS-Extension                                               REQUIRED        -               3.18.12         OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

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

  Device URI                        Model           
  --------------------------------  ----------------
  hp:/usb/HP_LaserJet_1022?serial=  HP LaserJet 1022
  JM026AC                                           

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

 
HP-LaserJet-Pro-MFP-M125nw
--------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7J7YD8N
PPD: /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd ppd file
PPD Description: 
Printer status: Drucker HP-LaserJet-Pro-MFP-M125nw ist deaktiviert seit So 19 Aug 2018 1Backend /usr/lib/cups/backend/hp does not exist!
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7J7YD8N
error: Device not found
error: Communication status: Failed

HP_LaserJet_1022_2
------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1022?serial=JM026AC
PPD: /etc/cups/ppd/HP_LaserJet_1022_2.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_1022_2.ppd ppd file
PPD Description: 
Printer status: Drucker HP_LaserJet_1022_2 ist im Leerlauf.  Aktiviert seit Fr 18 Jan 2019 16:57:04 CET
Communication status: Good


--------------
| PERMISSION |
--------------

USB             HP_LaserJet_1022_2             Required        -        -        OK       Node:'/dev/bus/usb/001/004' Perm:'  root  lp rw- rw- rw- rw- r--'
 

Checking Permissions....


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd
warning: Could not complete Queue(s) configuration check


Checking for HP Properitery Plugin's....
No plug-in printers are configured.
 

Checking for Printer Status....
error: 'HP-LaserJet-Pro-MFP-M125nw' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor

Diagnose completed...



More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Wohnort: Schleswig-Holstein

Dann haben wir ja einen kleinen Erfolg 😉 Aber hast du meinen Befehl

sudo rm /etc/cups/ppd/*

nicht ausgeführt?? Demnach

warning: Failed to read /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125nw.ppd ppd file
warning: Failed to read /etc/cups/ppd/HP_LaserJet_1022_2.ppd ppd file

nicht. Mit den ppd's scheint etwas nicht zu stimmen,also – löschen!

Der HP LaserJet Pro MFP m125nw (ab Hplip 3.14.3) sollte mit dem Hplip 3.18.12 und dem Plugin auf jeden Fall Funktionieren.

Gruß Stephan

gaerchle

(Themenstarter)

Anmeldungsdatum:
16. Januar 2019

Beiträge: 18

Also eigentlich hatte ich den Befehl ausgeführt. Kann ich aber gerne nochmal machen. Nochmal vielen, vielen Dank.