ubuntuusers.de

HPLIP funktioniert nicht

Status: Ungelöst | Ubuntu-Version: Kubuntu 20.04 (Focal Fossa)
Antworten |

Kontrapaganda

Anmeldungsdatum:
2. Februar 2020

Beiträge: 235

Hallo liebe Community, ich habe einen Drucker gekauft, Color Laser 179fwg. HPLIP benutze ich schon länger für einen alten Photosmart, der mir aber zu umständlich geworden ist mit da nicht netzwerkfähig und sehr „anstregend“. Also habe ich den Drucker ans Netzwerk angeschlossen und HPLIP gestartet. Dort bekam ich leider die Nachricht, dass im Netzwerk kein Drucker gefunden worden sei. Am Drucker liegt es nicht, denn unter Windows 10 hat alles geklappt. la s wäre das nicht Ironie genug, wird mir der Drucker inter der KDE-Druckerverwaltung angezeigt und ist auch „sogar ready to print“. Leider ist die Qualität ziemlich beschissen.

Im Internet habe ich gelesen, dass man sich lieber die Version von der Website installieren soll. Der Installer hat dann auch gleich die andere Version deinstalliert mit de Ergebnis, dass die HP LIp-Programme mir nicht mehr angezeigt werden. Also habe ich HPLIP über die Paketverwaltung neu installiert. Das Ergebnis ist, dass HPLIP zwar angezeigt wird, aber nicht startet. Wenn ich den Befehl hinter der Verknüpfung in der Konsole ausführe, bekomme ich eine leere Shell:

1
2
3
sh -c 'STARTED_FROM_MENU=yes /usr/bin/hp-toolbox
> 

Was kann ich jetzt machen? Über welchen Befehl starte ich das HPLIP aus dem Internet,m wenn offensichtlich keine Desktop-Verknüpfung vorhanden ist?

Wibuntu

Anmeldungsdatum:
21. Januar 2011

Beiträge: 564

https://forum.ubuntuusers.de/topic/hp-photosmart-5525-konfigurationsproblem-unter/

Hast dir den Thread insbesonders Seite 4, schon angeschaut? Vielleicht ist es die Lösung 😇

Kontrapaganda

(Themenstarter)

Anmeldungsdatum:
2. Februar 2020

Beiträge: 235

Danke für den Link zu dem Thread. Allerdings hatte ich ja auch Probleme mit dem Finden des Druckers via Netzwerk. Und im Thread geht es ja um einen Photosmart via USB. So einen habe ich hier auch älteren Baujahrs. Der funzt einwandfrei.

Die Installation klappt leider nicht aufgrund unerfüllbarer Abhängigkeiten.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional   
python3-notify2      gui_qt5              OPTIONAL            
python3-pyqt4-dbus   gui_qt4              OPTIONAL            
python3-pyqt4        gui_qt4              REQUIRED            
python3-pyqt5-dbus   gui_qt5              OPTIONAL            
python3-pyqt5        gui_qt5              REQUIRED            
python3-dbus         fax                  REQUIRED            
python3-reportlab    fax                  OPTIONAL            
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: This installer cannot install 'python3-pyqt4' for your distro/OS and/or version.

Das Skript hatte mich extra nach der Distribution und Version gefragt. Wie HP darauf kommt, unter Ubuntu 20.04 irgendwelche QT4-Pakete zu installieren ist mir schleierhaft, wo QT4 schon seit 18.04 nicht mehr vorhanden ist.

Kontrapaganda

(Themenstarter)

Anmeldungsdatum:
2. Februar 2020

Beiträge: 235

Der Witz an der ganzen Sache ist, dass die fehlenden Abhängigkeiten nicht bemängelt wurden, wenn root installiert hat. Leider nützt mir das nichts, weil ein Programm namens „hp-setup“, wie es im verlinkten Thread angezeigt wird, nicht existiert, und sich auch via

1
sudo find / -name "*hp-setup*"

nicht auffinden lässt.

UPDATE: Da dieses HPLIP von der Website anscheinend nicht funktionieren will, habe ich mir jetzt notgedrungen wieder das aus den offiziellen Quellen installiert. Beim Versuch, einen Netzwerkdrucker zu finden, bekomme ich folgende Nachricht:

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

Die Verlinkte Website hilft da leider nicht weiter. Von Firewalls habe ich keinen Schimmer und hatte auch noch nie was damit zu tun. Ehrlich gesagt, traue ich dem programm auch nicht wirklich, ob es das richtig erkennt, wo es doch nicht mal imstande ist für Ubuntu 20.04 die richtigen Abhängigkeiten zu finden.

Bournless

Anmeldungsdatum:
4. Mai 2019

Beiträge: 915

Darf ich Dir einen guten Tipp geben?

Beachte erst einmal das hier, damit sich die willigen Supporter vorab ein Bild machen können.

Es gibt in diesem Forum sehr hilfsbereite und kompetente Menschen, die Dir sehr wahrscheinlich helfen können!

Aber gib denen schon vorab mal die notwendigen Info's!

Kontrapaganda

(Themenstarter)

Anmeldungsdatum:
2. Februar 2020

Beiträge: 235

Danke für den Hinweis. Auch denke ich, hängt das Problem in erster Linie an HPLIP und nicht am Scanner/Drucker. Da SANE bei mir wohl keine Probleme macht:

»dpkg -l | egrep hp«:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
ii  hplip                                         3.20.3+dfsg0-2                              amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                    3.20.3+dfsg0-2                              all          HP Linux Printing and Imaging - data files
ii  hplip-doc                                     3.20.3+dfsg0-2                              all          HP Linux Printing and Imaging - documentation
ii  hplip-gui                                     3.20.3+dfsg0-2                              all          HP Linux Printing and Imaging - GUI utilities (Qt-based)
ii  kubuntu-web-shortcuts                         17.04ubuntu1                                all          web shortcuts for Kubuntu, Ubuntu, Launchpad
ii  libhpmud0:amd64                               3.20.3+dfsg0-2                              amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libsane-hpaio:amd64                           3.20.3+dfsg0-2                              amd64        HP SANE backend for multi-function peripherals
ii  libshp2:amd64                                 1.5.0-1build1                               amd64        Library for reading and writing ESRI Shapefiles
ii  printer-driver-hpcups                         3.20.3+dfsg0-2                              amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  printer-driver-postscript-hp                  3.20.3+dfsg0-2                              amd64        HP Printers PostScript Descriptions
ii  python3-launchpadlib                          1.10.13-1                                   all          Launchpad web services client library (Python 3)

»dpkg -l *cups* lpr* | grep ii«:

1
2
dpkg-query: no packages found matching class_cups_drv.inc
dpkg-query: no packages found matching cups_drv.inc

»hp-info -i«:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161

HP Linux Imaging and Printing System (ver. 3.20.3)
Device Information Utility ver. 5.2

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.


hp:/usb/Photosmart_C4100_series?serial=MY74LJ10H304J7

error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4100_series?serial=MY74LJ10H304J7
error: Error opening device (Device not found).
Device Parameters (dynamic data):
  Parameter                     Value(s)                                                  
  ----------------------------  ----------------------------------------------------------
  back-end                      hp                                                        
  cups-printers                 ['Photosmart-C4100-series']                               
  cups-uri                      hp:/usb/Photosmart_C4100_series?serial=MY74LJ10H304J7     
  dev-file                                                                                
  device-state                  -1                                                        
  device-uri                    hp:/usb/Photosmart_C4100_series?serial=MY74LJ10H304J7     
  deviceid                                                                                
  error-state                   101                                                       
  host                                                                                    
  is-hp                         True                                                      
  panel                         0                                                         
  panel-line1                                                                             
  panel-line2                                                                             
  port                          1                                                         
  scan-uri                      hpaio:/usb/Photosmart_C4100_series?serial=MY74LJ10H304J7  
  serial                        MY74LJ10H304J7                                            
  status-code                   5002                                                      
  status-desc                                                                             

Model Parameters (static data):
  Parameter                     Value(s)                                                  
  ----------------------------  ----------------------------------------------------------
  align-type                    1                                                         
  clean-type                    1                                                         
  color-cal-type                3                                                         
  copy-type                     0                                                         
  embedded-server-type          0                                                         
  family-class                  ['DJGenericVIP']                                          
  fax-type                      0                                                         
  fw-download                   False                                                     
  icon                          Photosmart_C4100.png                                      
  io-mfp-mode                   3                                                         
  io-mode                       1                                                         
  io-support                    2                                                         
  job-storage                   0                                                         
  linefeed-cal-type             0                                                         
  model                         Photosmart_C4100_series                                   
  model-ui                      HP Photosmart c4100 Series                                
  model1                        HP Photosmart C4110 All-in-One Printer                    
  model10                       HP Photosmart C4190 All-in-One Printer                    
  model11                       HP Photosmart C4193 All-in-One Printer                    
  model12                       HP Photosmart C4194 All-in-One Printer                    
  model2                        HP Photosmart C4140 All-in-One Printer                    
  model3                        HP Photosmart C4150 All-in-One Printer                    
  model4                        HP Photosmart C4170 All-in-One Printer                    
  model5                        HP Photosmart C4173 All-in-One Printer                    
  model6                        HP Photosmart C4175 All-in-One Printer                    
  model7                        HP Photosmart C4180 All-in-One Printer                    
  model8                        HP Photosmart C4183 All-in-One Printer                    
  model9                        HP Photosmart C4188 All-in-One Printer                    
  monitor-type                  0                                                         
  panel-check-type              0                                                         
  pcard-type                    2                                                         
  plugin                        0                                                         
  plugin-reason                 0                                                         
  power-settings                0                                                         
  pq-diag-type                  0                                                         
  r-type                        1                                                         
  r0-agent1-kind                3                                                         
  r0-agent1-sku                 98                                                        
  r0-agent1-type                1                                                         
  r0-agent2-kind                3                                                         
  r0-agent2-sku                 93/95                                                     
  r0-agent2-type                2                                                         
  r0-agent3-kind                3                                                         
  r0-agent3-sku                 99                                                        
  r0-agent3-type                3                                                         
  r0-agent4-kind                3                                                         
  r0-agent4-sku                 100                                                       
  r0-agent4-type                10                                                        
  r10-agent1-kind               3                                                         
  r10-agent1-sku                851                                                       
  r10-agent1-type               1                                                         
  r10-agent2-kind               3                                                         
  r10-agent2-sku                854/855                                                   
  r10-agent2-type               2                                                         
  r10-agent3-kind               3                                                         
  r10-agent3-sku                858                                                       
  r10-agent3-type               3                                                         
  r10-agent4-kind               3                                                         
  r10-agent4-sku                100                                                       
  r10-agent4-type               10                                                        
  r2-agent1-kind                3                                                         
  r2-agent1-sku                 98                                                        
  r2-agent1-type                1                                                         
  r2-agent2-kind                3                                                         
  r2-agent2-sku                 93/95                                                     
  r2-agent2-type                2                                                         
  r2-agent3-kind                3                                                         
  r2-agent3-sku                 99                                                        
  r2-agent3-type                3                                                         
  r2-agent4-kind                3                                                         
  r2-agent4-sku                 100                                                       
  r2-agent4-type                10                                                        
  r4-agent1-kind                3                                                         
  r4-agent1-sku                 337                                                       
  r4-agent1-type                1                                                         
  r4-agent2-kind                3                                                         
  r4-agent2-sku                 342/343                                                   
  r4-agent2-type                2                                                         
  r4-agent3-kind                3                                                         
  r4-agent3-sku                 348                                                       
  r4-agent3-type                3                                                         
  r4-agent4-kind                3                                                         
  r4-agent4-sku                 100                                                       
  r4-agent4-type                10                                                        
  r8-agent1-kind                3                                                         
  r8-agent1-sku                 129                                                       
  r8-agent1-type                1                                                         
  r8-agent2-kind                3                                                         
  r8-agent2-sku                 136/135                                                   
  r8-agent2-type                2                                                         
  r8-agent3-kind                3                                                         
  r8-agent3-sku                 138                                                       
  r8-agent3-type                3                                                         
  r8-agent4-kind                3                                                         
  r8-agent4-sku                 100                                                       
  r8-agent4-type                10                                                        
  scan-src                      1                                                         
  scan-type                     1                                                         
  status-battery-check          0                                                         
  status-dynamic-counters       1                                                         
  status-type                   2                                                         
  support-released              True                                                      
  support-subtype               2202411                                                   
  support-type                  2                                                         
  support-ver                   1.6.6                                                     
  tech-class                    ['DJGenericVIP']                                          
  tech-subclass                 ['Normal']                                                
  tech-type                     2                                                         
  usb-pid                       22289                                                     
  usb-vid                       1008                                                      
  wifi-config                   0                                                         

Status History (most recent first):
  Date/Time             Code   Status Description                        User      Job ID  
  --------------------  -----  ----------------------------------------  --------  --------
  05/15/20 22:41:47     5012   Device communication error                user    0       
  05/15/20 22:29:21     700    Printer queue stopped                     user    0       
  05/15/20 22:28:20     5012   Device communication error                user    0       
  05/15/20 22:28:20     700    Printer queue stopped                     user    0       


Done.

UPDATE: Mittlerweile habe ich über die Kubuntu-Druckerverwaltung eine PPD-Datei gefunden für den Drucker. Mit dieser druckt er jetzt in hervorragender Qualität und scannt auch via PostScript. Das einzige, was noch nicht läuft, ist das Faxen, denn das Programm »hp-sendfax« meldet beim Start leider error:

1
No device found that support this feature.

Erfolgreich faxt habe ich natürlich schon direkt am Drucker. Das war aber auch zu erwarten.

Antworten |