Hilfe benötigt bei der Installation eines HP-Druckers

Hallo zusammen,
mein HP Color LaserJet CP1514n - Drucker ist per USB und per Netzwerkkabel an meinem Rechner angeschlossen.
HPLIP ist installiert. Der Drucker ist via IP-Adresse erreichbar.
Leider druckt er noch nicht (weder via USB noch als Netzwerkdrucker).
Ich habe den Drucker als Netzwerkdrucker und als USB-Drucker installiert. Die Druckaufträge und Testseiten werden an den Drucker gesandt, aber nicht ausgedruckt.
Ich hoffe, mir kann jemand anhand des nachfolgenden Codes weiterhelfen:

marce@linux-vtw5:~> su --c "hp-setup"
Passwort: 

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

QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
Searching... (bus=usb, search=(None), desc=0)
error: No PPD found for model color_laserjet_cp1514n using old algorithm.
error: No appropriate print PPD file found for model hp_color_laserjet_cp1514n
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
kf5.kio.core: KIO Connection server not listening, could not connect
kf5.kio.core: couldn't create slave: "Socket für Ein-/Ausgabemodul für „file“ kann nicht gestartet werden."
kf5.kservice.services: The desktop entry file "/usr/share/applications/org.kde.drkonqi.desktop" has Type= "Application" but no Exec line
kf5.kservice.sycoca: Invalid Service :  "/usr/share/applications/org.kde.drkonqi.desktop"
kf5.kservice.services: The desktop entry file "/usr/share/applications/org.kde.systemmonitor.desktop" has Type= "Application" but no Exec line
kf5.kservice.sycoca: Invalid Service :  "/usr/share/applications/org.kde.systemmonitor.desktop"
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
kf5.kio.core: KIO Connection server not listening, could not connect
kf5.kio.core: couldn't create slave: "Socket für Ein-/Ausgabemodul für „file“ kann nicht gestartet werden."
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3059, resource id: 29766842, major code: 40 (TranslateCoords), minor code: 0
error: No devices found on bus: net
error:  HPLIP cannot detect printers in your network.  This may be due to existing firewall settings blocking the required ports.
                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/374  
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9439, resource id: 29769242, major code: 40 (TranslateCoords), minor code: 0
Found device: hp:/net/HP_Color_LaserJet_CP1514n?ip=192.168.178.23

Done.
marcel@linux-vtw5:~> su --c "hp-setup"
Passwort: 

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

QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
Searching... (bus=usb, search=(None), desc=0)
Exiting the setup...
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1414, resource id: 29769511, major code: 40 (TranslateCoords), minor code: 0

Done.
marcel@linux-vtw5:~> su --c "hp-toolbox"
Passwort: 
warning: hp-toolbox should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.18.6)
HP Device Manager ver. 15.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.

warning: Reportlab not installed. Fax coverpages disabled.
warning: Please install version 2.0+ of Reportlab for coverpage support.
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
error: dBus initialization error. Exiting.
marcel@linux-vtw5:~>

Falls dies nicht genügen sollte, könnten wir uns auch die Log-Datei ansehen. Wo finde ich die?

Vielen Dank für weiterführende Hinweise.

su --c “hp-setup”

Bei mir eigentlich nur mit einem -:

-c, --command <Befehl> einen einzelnen Befehl an die Shell
mit -c übergeben

Versuch es mal mit

su -l

und dann mit

hp-setup

Übrigens lt. Windows Installation zuerst mit USB und wenn das funktioniert erst mit Netzwerk.

So funktioniert es bei mir.

https://translate.google.com/translate?sl=pl&tl=de&u=https%3A%2F%2Fforums.opensuse.org%2Fshowthread.php%2F538147-Tumbleweed-instalacja-drukarki-HP-LaserJet-P1102w

Ich habe es wie folgt versucht:

  1. hp-setup ausgeführt, es erscheint ein Fenster, in dem man Benutzername und Kennwort eingeben soll (wg. Berechtigung zur Installation des Druckers); da hatte ich meinen Benutzer “marcel” eingegeben, die Testseite wurde nicht ausgedruckt, der Drucker wurde zwar angelegt, aber er druckt nicht

marcel@linux-vtw5:~> hp-setup

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

Searching... (bus=usb, search=(None), desc=0)
error:  Printer queue setup failed.   Error : successful-ok-ignored-or-substituted-attributes
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2507, resource id: 39854849, major code: 40 (TranslateCoords), minor code: 0
lpr: Datei oder Verzeichnis nicht gefunden
error: Print command failed with exit code 256!

Done.

  1. wie 1. nur, dass ich hier im erscheinenden Fenster meinen root-Benutzer mit Kennwort eingegeben habe, auch hier wird der Drucker zwar angelegt (und gefunden), aber er druckt nicht (weder Testseite noch ähnliches)

marcel@linux-vtw5:~> hp-setup

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

Searching... (bus=usb, search=(None), desc=0)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1895, resource id: 39857302, major code: 40 (TranslateCoords), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1910, resource id: 39856285, major code: 40 (TranslateCoords), minor code: 0

Done.

  1. Versuch hp-plugin zu installieren, es erscheint eine Fehlermeldung als eine Datei im Internet gesucht wird und es kommt zum Abbruch

marcel@linux-vtw5:~> hp-plugin

HP Linux Imaging and Printing System (ver. 3.18.6)
Plugin Download and Install Utility ver. 2.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.


HP Linux Imaging and Printing System (ver. 3.18.6)
Plugin Download and Install Utility ver. 2.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.

Checking for network connection...
Downloading plug-in from: None
Receiving digital keys: /usr/bin/gpg --homedir /home/marcel/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.18.6 Plugin Self Extracting Archive.Extraction failed.

gzip: error: Python gobject/dbus may be not installed
stdout: Broken pipe
error: Plug-in install failed.
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1715, resource id: 39860495, major code: 40 (TranslateCoords), minor code: 0

Done.

  1. su -l, dann hp-setup ausgeführt, Ergebnis wie bei 1. und 2.

marcel@linux-vtw5:~> su -l
Passwort: 
linux-vtw5:~ # hp-setup

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

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Searching... (bus=usb, search=(None), desc=0)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 694, resource id: 39866681, major code: 40 (TranslateCoords), minor code: 0

Done.

linux-vtw5:~ # 

In der Statusleiste wird folgendes angezeigt:

2_usb_HP_Color_LaserJet_CP1514n
Started a print job: Unbenannt 1
(marcel/198) 
2_usb_HP_Color_LaserJet_CP1514n
Print job has completed: Unbenannt 1
(marcel/198) 


_HP_Color_LaserJet_CP1514n
Device Added (9000) 
3_HP_Color_LaserJet_CP1514n
Started a print job: tmphgw253lf
(root/199) 

Auch im Browser zeigt Cups an, dass die Aufträge fertiggstellt wurden, es wird aber nix gedruckt:

https://paste.opensuse.org/94560044

Wo liegt die Log-Datei?

Zu den basics.

Poste:

zypper se -si hplip
zypper lr -d

Drucker nur per USB anschließen und posten:

lsusb

Konsole öffnen, mit su und root-Passwort zum Benutzer root wechseln und dann noch einmal posten:

hp-setup
marcel@linux-vtw5:~> zypper se -si hplip
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S  | Name        | Typ   | Version          | Arch   | Repository            
---+-------------+-------+------------------+--------+-----------------------
i+ | hplip       | Paket | 3.18.6-lp151.1.1 | x86_64 | Haupt-Repository (OSS)
i+ | hplip-hpijs | Paket | 3.18.6-lp151.1.1 | x86_64 | Haupt-Repository (OSS)
i+ | hplip-sane  | Paket | 3.18.6-lp151.1.1 | x86_64 | Haupt-Repository (OSS)
marcel@linux-vtw5:~>
marcel@linux-vtw5:~> zypper lr -d
#  | Alias                               | Name                                                    | Aktiviert | GPG-Überprüfung | Aktualisierung | Priorität | Typ    | URI                                                                             | Dienst
---+-------------------------------------+---------------------------------------------------------+-----------+-----------------+----------------+-----------+--------+---------------------------------------------------------------------------------+-------
 1 | download.nvidia.com-leap            | nVidia Graphics Drivers                                 | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://download.nvidia.com/opensuse/leap/15.1                                   |       
 2 | download.opensuse.org-non-oss       | Haupt-Repository (NON-OSS)                              | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/               |       
 3 | download.opensuse.org-non-oss_1     | Aktualisierungs-Repository (Nicht-Open-Source-Software) | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/                          |       
 4 | download.opensuse.org-oss           | Haupt-Repository (OSS)                                  | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/                   |       
 5 | http-download.opensuse.org-8757106b | Printing                                                | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://download.opensuse.org/repositories/Printing/openSUSE_Leap_15.1/          |       
 6 | http-download.opensuse.org-e657c49d | openSUSE:Leap:15.1:Update                               | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://download.opensuse.org/update/leap/15.1/oss/                              |       
 7 | http-download.opensuse.org-fb892aaa | Archiving:Backup                                        | Nein      | ----            | ----           |   99      | rpm-md | http://download.opensuse.org/repositories/Archiving:/Backup/openSUSE_Leap_15.1/ |       
 8 | http-opensuse-guide.org-b4d4f760    | libdvdcss repository                                    | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.1/                              |       
 9 | packman.inode.at-suse               | Packman Repository                                      | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/                                |       
10 | qgis                                | qgis                                                    | Nein      | ----            | ----           |   99      | rpm-md | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_15.1/  |       
11 | repo-debug                          | openSUSE-Leap-15.1-Debug                                | Nein      | ----            | ----           |   99      | yast2  | http://download.opensuse.org/debug/distribution/leap/15.1/repo/oss/             |       
12 | repo-debug-non-oss                  | openSUSE-Leap-15.1-Debug-Non-Oss                        | Nein      | ----            | ----           |   99      | yast2  | http://download.opensuse.org/debug/distribution/leap/15.1/repo/non-oss/         |       
13 | repo-debug-update                   | openSUSE-Leap-15.1-Update-Debug                         | Nein      | ----            | ----           |   99      | rpm-md | http://download.opensuse.org/debug/update/leap/15.1/oss/                        |       
14 | repo-debug-update-non-oss           | openSUSE-Leap-15.1-Update-Debug-Non-Oss                 | Nein      | ----            | ----           |   99      | rpm-md | http://download.opensuse.org/debug/update/leap/15.1/non-oss/                    |       
marcel@linux-vtw5:~>
marcel@linux-vtw5:~> lsusb
Bus 002 Device 003: ID 03f0:4417 Hewlett-Packard EWS UPD
Bus 002 Device 002: ID 8564:1000 Transcend Information, Inc. JetFlash
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 413c:2106 Dell Computer Corp. Dell QuietKey Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
marcel@linux-vtw5:~>
linux-vtw5:/home/marcel # hp-setup

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

QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
Searching... (bus=usb, search=(None), desc=0)
 
Done.
linux-vtw5:/home/marcel #

Der USB-Drucker wird von hp-setup gefunden und installiert. Dabei aktiviere ich die Funktion “Testseite drucken”.
Dann erscheint in Statusleiste das Aufklappfenster HPLIP STATUS:
“Device added … Startet an print job … Print job completed”
, jedoch wird nix ausgedruckt.

Da du ja das Printing Repo aktiv hast, hast du es mal mit hplip daraus versucht?
Ist Version 3.19.6…

Ja, vorhin:

linux-vtw5:/home/marcel # hp-setup

HP Linux Imaging and Printing System (ver. 3.19.6)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 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.

QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
Searching... (bus=usb, search=(None), desc=0)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1171, resource id: 39859405, major code: 40 (TranslateCoords), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1995, resource id: 39859306, major code: 40 (TranslateCoords), minor code: 0

Done.
linux-vtw5:/home/marcel #

Die Statusleiste meldet

HP_Color_LaserJet_CP1514n_191112
Device Added (9000) 
HP_Color_LaserJet_CP1514n_191112
Started a print job: tmpepl3baov
(root/201) 
HP_Color_LaserJet_CP1514n_191112
Print job has completed: tmpepl3baov
(root/201) 


Es wird jedoch nichts gedruckt.
Übrigens hatte der Drucker mal unter Suse einwandfrei funktioniert. Erst in der letzten Zeit funktioniert das Drucken nicht mehr. Stattdessen zeigt der Drucker nun beim Start an “Falsches Verbrauchsmaterial”. Aber das kann ich mit “ok” bestätigen.
Vor ein paar Tagen hatte ich auch mal in die error.log von hp geschaut. Da stand so etwas wie “Permisson denied. Filter failed”. Auch die Ausgaben

QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0

lassen mich vermuten, dass es ein Rechteproblem vorliegend gibt. Es war früher so, dass ich die Aufträge teilweise nochmal manuel anstoßen musste, mit root-Passwort und Kennung, aber jetzt scheint schon vorher eine Einschränkung zu wirken, die das Drucken verhindert.
Wo liegt nochmal die error.log von hp. Das war irgendwas mit "/var/ oder /run/hp-lip/error.log

Hi,

Übrigens hatte der Drucker mal unter Suse einwandfrei funktioniert. Erst in der letzten Zeit funktioniert das Drucken nicht mehr. Stattdessen zeigt der Drucker nun beim Start an “Falsches Verbrauchsmaterial”. Aber das kann ich mit “ok” bestätigen.

Du solltest das Endgerät in einer anderen Betriebssystemumgebung testen, um Hardwarefehler auszuschließen.