nocheinneuling
Anmeldungsdatum: 28. April 2017
Beiträge: Zähle...
|
Hallo zusammen, ich hab mir unlängst mein erstes Linux installiert. Bis aufs Drucken läuft alles so weit so gut, aber das mit dem Drucken hat es echt in sich. Also: Sys specs: Acer Revo M1-601 Mini Pc Ubuntu 16.04 HP Laser Jet M1005 MFP über USB Von Beginn an versagte der Drucker den Dienst. Er wurde zwar erkannt, hat aber nicht gedruckt. Also habe ich gegoogelt und alle mögliche Ratschläge ausprobiert. Den Drucker über das Cups-Webinterface installieren, den Drucker über das Systemmenü installieren, hplip installieren, den Drucker über die Konsolenbefehle von hplip installieren, den Drucker löschen und in allerlei Kombinationen neu installieren usw. usf.. Kurzum, so ziemlich alles was google her gab habe ich ausprobiert. Das beste Resultat brachte die Umstellung des Treibers im System-Menü von foomatic auf hpcups. Da hat der Drucker immerhin kurze Texte aus Libre Office gedruckt. Bei Grafiken und längeren Texten (also alles von mehr als einer Seite) hat er gestreikt. Das war natürlich kein hinnehmbarer Zustand, also habe ich weiter gegoogelt und stieß irgendwo auf einen Thread in dem geraten wurde cups zu purgen, alles im Ordner /etc/cups zu löschen und anschließend Cups neu zu installieren. Ich tat also folgendes: | sudo apt-get purge cups
cd /etc/cups
sudo rm *
sudo apt-get install cups
|
Ab hier hat nun Cups angefangen zu streicken. Ich komme nicht mehr auf die Funktionen der Web-Oberfläche. D.h. bei localhost:631 kommt zwar die Startseite von Cups, aber alle anderen Seiten (Admin, help, jobs, usw.) geben einen "failed to connect"-Fehler zurück. Ferner wird mein Drucker in System-Menü auch nicht länger angezeigt. Wenn ich auf den Menüpunkt "Drucker" klicke versucht Ubuntu sich mit dem Cups-Server zu verbinden (unter /var/run/cups/cups.sock) aber meldet jedes Mal ein "connection failed". Hier ist was hp-check sagt: 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243 | [01mSaving output in log file: /home/adler/hp-check.log[0m
[01mHP Linux Imaging and Printing System (ver. 3.16.11)[0m
[01mDependency/Version Check Utility ver. 15.1[0m
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.
[01mNote: hp-check can be run in three modes:[0m
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.8.0-46-generic #49~16.04.1-Ubuntu SMP Fri Mar 31 14:51:03 UTC 2017 GNU/Linux
Host: adler-Revo-M1-601
Proc: 4.8.0-46-generic #49~16.04.1-Ubuntu SMP Fri Mar 31 14:51:03 UTC 2017 GNU/Linux
Distribution: ubuntu 16.04
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.16.11
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 16.04 version
[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.16.11
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.16.11
html=/usr/share/doc/hplip-3.16.11
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.16.11
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=no
[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
[plugin]
installed = 1
eula = 1
version = 3.16.11
[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
[upgrade]
notify_upgrade = true
last_upgraded_time = 1492104683
pending_upgrade_time = 0
latest_available_version = 3.16.11
[last_used]
device_uri = hp:/usb/HP_LaserJet_M1005?serial=KJ1D3Q2
[installation]
date_time = 04/18/17 18:31:39
version = 3.16.11
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------------------
| External Dependencies |
--------------------------
[31;01m error: cups CUPS - Common Unix Printing System REQUIRED 1.1 2.1.3 MISSING 'CUPS may not be installed or not running'[0m
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.18 OK -
network network -wget OPTIONAL - 1.17.1 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
dbus DBus - Message bus system REQUIRED - 1.10.6 OK -
-------------------------
| General Dependencies |
-------------------------
libpthread libpthread - POSIX threads library REQUIRED - b'2.23' OK -
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.25 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.1.3 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
sane SANE - Scanning library REQUIRED - 1.0.25 OK -
python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
python3-xml Python XML libraries REQUIRED - 2.1.0 OK -
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.1.3 OK -
---------------
| COMPILEDEP |
---------------
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 OK -
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
----------------------
| Python Extentions |
----------------------
hpmudext IO-Extension REQUIRED - 3.16.11 OK -
cupsext CUPS-Extension REQUIRED - 3.16.11 OK -
-----------------------
| Scan Configuration |
-----------------------
hpaio HPLIP-SANE-Backend REQUIRED - 3.16.11 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.16.11 OK -
-----------------------
| Other Dependencies |
-----------------------
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/usb/HP_LaserJet_M1005?serial=KJ1D3Q2' is a Hewlett-Packard HP_LaserJet_M1005 all-in-one
device `hpljm1005:libusb:001:004' is a Hewlett-Packard LaserJet M1005 multi-function peripheral
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- -----------------
hp:/usb/HP_LaserJet_M1005?serial HP LaserJet M1005
=KJ1D3Q2
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
[01mlpstat[0m
[01m------[0m
Type: Unknown
Device URI: Ungültiger Dateideskriptor
--------------
| PERMISSION |
--------------
USB None Required - - OK Node:'/dev/bus/usb/001/004' Perm:' root lp rw- rw- rw- rw- rw- r--'
-----------
| SUMMARY |
-----------
[01mMissing Required Dependencies[0m
[01m-----------------------------[0m
[01mMissing Optional Dependencies[0m
[01m-----------------------------[0m
None
Total Errors: 1
Total Warnings: 0
Done.
|
In der Konsole steht, nach dem der hp-check Befehl ausgeführt wurde, folgendes: | error: 'libcups2' package is missing/incompatible
|
Der Drucker wird offenbar erkannt, aber mit Cups gibts wohl Probleme. Was nun?
|
Ubu-tester
Anmeldungsdatum: 7. Januar 2011
Beiträge: 2231
Wohnort: NDS
|
moin, ich kenn mich mit Deinem Drucker nicht aus, aber schau doch mal ins Wiki unter 'CUPS'. Da steht so einiges.
|
Tuemmler
Anmeldungsdatum: 26. März 2007
Beiträge: 8020
Wohnort: Süsel / Ostholstein
|
Moin Moin, Lösungsansatz:
und
Gruß
|
nocheinneuling
(Themenstarter)
Anmeldungsdatum: 28. April 2017
Beiträge: 8
|
Tuemmler schrieb: Moin Moin, Lösungsansatz:
und
Gruß
Also, ich hab mir hplip von der Seite geladen und versucht es zu installieren. Bei Installationsvorgang kommt irgendwann folgende Meldung:
1
2
3
4
5
6
7
8
9
10
11
12
13 | 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
cups base REQUIRED
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: cups (CUPS - Common Unix Printing System)
A package manager '[mmcqd/0rpmb] ' appears to be running. Please quit the package manager and press enter to continue (i=ignore, r=retry*, f=force, q=quit) :
|
Die Optionen "force" und "retry" führen nicht weiter. Also mache ich "ignore". Im weiteren Verlauft meckert er wieder, dass er Cups nicht installieren kann: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 | DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libcups2'
Please wait, this may take several minutes...
error: A required dependency 'cups (CUPS - Common Unix Printing System)' is still missing.
RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK
RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'cups (CUPS - Common Unix Printing System)' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.
|
Also versuche ich Cups manuell zu installieren mit sudo apt-get install cups und bekomme das hier zu lesen: | Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
»cups« ist bereits die neuste Version (2.1.3-4).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 53 nicht aktualisiert.
|
Ich fühle mich gerade ein Bisschen wie Asterix mit dem Passierschein A38 ...
|
nocheinneuling
(Themenstarter)
Anmeldungsdatum: 28. April 2017
Beiträge: 8
|
Ich bin einen Schritt weiter gekommen. Mit: | sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf
sudo service cups restart
|
kann ich nun wieder auf das Cups Web-Interface zugreifen. Die Idee habe ich von hier https://askubuntu.com/questions/846177/cups-wont-start. Leider klappt die hplip Installation nach wie vor nicht. Hplip behauptet cups sei nicht da. Der Drucker druckt auch noch nicht.
|
nocheinneuling
(Themenstarter)
Anmeldungsdatum: 28. April 2017
Beiträge: 8
|
Noch ein Update: nach | systemctl enable cups.service
|
hat hplip eingesehen, dass cups auf dem Rechner ist und hat sich problemlos installieren lasse. Ich hab jetzt die von Tuemmler vorgeschlagenen Links durchgemacht. Leider ohne Erfolg. Cups funktioniert jetzt wie gewohnt. Der Drucker wird erkannt und lässt sich auf alle erdenklichen Weisen (über hp-setup, über system-printer-config und über localhost:631) installieren. Aber er druckt nicht. Keine Testseite, keine Dokumente aus LibreOfficem kein garnix... Hat noch jemand eine Idee?
|
nocheinneuling
(Themenstarter)
Anmeldungsdatum: 28. April 2017
Beiträge: 8
|
|
Tuemmler
Anmeldungsdatum: 26. März 2007
Beiträge: 8020
Wohnort: Süsel / Ostholstein
|
Moin Moin, ich weis nicht was Du mit der Installation von http://hplipopensource.com/hplip-web/install/install/index.html für Probleme hattest, die Anweisung ist selbsterklärend und muss nur bestätigt werden (Nachdenken erforderlich). Spätestens das sollte aber funktionieren, wenn Du exat den Ausführungen folgst. https://axebase.net/blog/2014/12/05/installation-hp-linux-imaging-and-printing/ Gruß
|
nocheinneuling
(Themenstarter)
Anmeldungsdatum: 28. April 2017
Beiträge: 8
|
Hallo Tuemmler, hplip ist installiert nur der Drucker druckt trotzdem nicht. Wenn ich z.B. eine Testseite drucken lasse, dann taucht rechts oben ein kleines Fenster auf, dass mir sagt, dass der Druckauftrag abgeschickt wurde. Eine kurze Zeit später kommt rechts oben wieder ein Fenster, dass sagt, der Auftrag sei abgeschlossen, aber der Drucker hat eben nicht gedruckt.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Zeige mal bitte die Ausgabe von dpkg -l hp* cups* sowie cupsd -t und python3 /usr/share/hplip/check.py
|
nocheinneuling
(Themenstarter)
Anmeldungsdatum: 28. April 2017
Beiträge: 8
|
Kellerkind_2009 schrieb: Zeige mal bitte die Ausgabe von dpkg -l hp* cups* sowie cupsd -t und python3 /usr/share/hplip/check.py
Ok 1. dpkg -l hp* cups* 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 | 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.1.3-4 amd64 Common UNIX Printing System(tm) - PPD/driver support, web interface
ii cups-backend-bjnp 2.0-0ubuntu2 amd64 printer backend for Canon BJNP protocol
ii cups-browsed 1.8.3-2ubuntu3.1 amd64 OpenPrinting CUPS Filters - cups-browsed
ii cups-bsd 2.1.3-4 amd64 Common UNIX Printing System(tm) - BSD commands
ii cups-client 2.1.3-4 amd64 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 2.1.3-4 all Common UNIX Printing System(tm) - common files
ii cups-core-drivers 2.1.3-4 amd64 Common UNIX Printing System(tm) - PPD-less printing
pi cups-daemon 2.1.3-4 amd64 Common UNIX Printing System(tm) - daemon
ii cups-dbg 2.1.3-4 amd64 Common UNIX Printing System(tm) - debugging symbols
ii cups-filters 1.8.3-2ubuntu3.1 amd64 OpenPrinting CUPS Filters - Main Package
ii cups-filters-core-drivers 1.8.3-2ubuntu3.1 amd64 OpenPrinting CUPS Filters - PPD-less printing
un cups-filters-invalid-mta <keine> <keine> (keine Beschreibung vorhanden)
un cups-filters-ippusbxd <keine> <keine> (keine Beschreibung vorhanden)
un cups-filters-lsb <keine> <keine> (keine Beschreibung vorhanden)
un cups-pdf <keine> <keine> (keine Beschreibung vorhanden)
ii cups-pk-helper 0.2.5-2ubuntu2 amd64 PolicyKit helper to configure cups with fine-grained privileges
ii cups-ppdc 2.1.3-4 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cups-server-common 2.1.3-4 all Common UNIX Printing System(tm) - server common files
un cupsys-bsd <keine> <keine> (keine Beschreibung vorhanden)
un hp2xx <keine> <keine> (keine Beschreibung vorhanden)
un hpijs <keine> <keine> (keine Beschreibung vorhanden)
un hpijs-ppds <keine> <keine> (keine Beschreibung vorhanden)
un hplip <keine> <keine> (keine Beschreibung vorhanden)
un hplip-cups <keine> <keine> (keine Beschreibung vorhanden)
un hplip-data <keine> <keine> (keine Beschreibung vorhanden)
|
2. cupsd -t
| "/etc/cups/cups-files.conf" is OK.
"/etc/cups/cupsd.conf" is OK.
|
3. python3 /usr/share/hplip/check.py Hier gibts nichts außer der folgenden Warnung: | warning: CUPSEXT could not be loaded. Please check HPLIP installation.
|
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
nocheinneuling schrieb:
| warning: CUPSEXT could not be loaded. Please check HPLIP installation.
|
Das sollte doch zu Denken geben 😬 un hp2xx <keine> <keine> (keine Beschreibung vorhanden)
un hpijs <keine> <keine> (keine Beschreibung vorhanden)
un hpijs-ppds <keine> <keine> (keine Beschreibung vorhanden)
un hplip <keine> <keine> (keine Beschreibung vorhanden)
un hplip-cups <keine> <keine> (keine Beschreibung vorhanden)
un hplip-data <keine> <keine> (keine Beschreibung vorhanden) Teste sudo apt-get install hplip hplip-data
|
nocheinneuling
(Themenstarter)
Anmeldungsdatum: 28. April 2017
Beiträge: 8
|
Kellerkind_2009 schrieb: nocheinneuling schrieb:
| warning: CUPSEXT could not be loaded. Please check HPLIP installation.
|
Das sollte doch zu Denken geben 😬 un hp2xx <keine> <keine> (keine Beschreibung vorhanden)
un hpijs <keine> <keine> (keine Beschreibung vorhanden)
un hpijs-ppds <keine> <keine> (keine Beschreibung vorhanden)
un hplip <keine> <keine> (keine Beschreibung vorhanden)
un hplip-cups <keine> <keine> (keine Beschreibung vorhanden)
un hplip-data <keine> <keine> (keine Beschreibung vorhanden) Teste sudo apt-get install hplip hplip-data
Habe ich gemacht. Es hat etwas installiert. Beim erneuten eingeben steht jetzt: | Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
»hplip« ist bereits die neuste Version (3.16.3+repack0-1).
»hplip-data« ist bereits die neuste Version (3.16.3+repack0-1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 75 nicht aktualisiert.
|
Hier sind nochmal die Ausgaben der drei Befehle um die du das letzte mal gebeten hast: 1. dpkg -l hp* cups*
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 | 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.1.3-4 amd64 Common UNIX Printing System(tm) - PPD/driver support, web interface
ii cups-backend-bjnp 2.0-0ubuntu2 amd64 printer backend for Canon BJNP protocol
ii cups-browsed 1.8.3-2ubuntu3.1 amd64 OpenPrinting CUPS Filters - cups-browsed
ii cups-bsd 2.1.3-4 amd64 Common UNIX Printing System(tm) - BSD commands
ii cups-client 2.1.3-4 amd64 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 2.1.3-4 all Common UNIX Printing System(tm) - common files
ii cups-core-drivers 2.1.3-4 amd64 Common UNIX Printing System(tm) - PPD-less printing
pi cups-daemon 2.1.3-4 amd64 Common UNIX Printing System(tm) - daemon
ii cups-dbg 2.1.3-4 amd64 Common UNIX Printing System(tm) - debugging symbols
ii cups-filters 1.8.3-2ubuntu3.1 amd64 OpenPrinting CUPS Filters - Main Package
ii cups-filters-core-drivers 1.8.3-2ubuntu3.1 amd64 OpenPrinting CUPS Filters - PPD-less printing
un cups-filters-invalid-mta <keine> <keine> (keine Beschreibung vorhanden)
un cups-filters-ippusbxd <keine> <keine> (keine Beschreibung vorhanden)
un cups-filters-lsb <keine> <keine> (keine Beschreibung vorhanden)
un cups-pdf <keine> <keine> (keine Beschreibung vorhanden)
ii cups-pk-helper 0.2.5-2ubuntu2 amd64 PolicyKit helper to configure cups with fine-grained privileges
ii cups-ppdc 2.1.3-4 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cups-server-common 2.1.3-4 all Common UNIX Printing System(tm) - server common files
un cupsddk <keine> <keine> (keine Beschreibung vorhanden)
un cupsys-bsd <keine> <keine> (keine Beschreibung vorhanden)
un hp2xx <keine> <keine> (keine Beschreibung vorhanden)
un hpijs <keine> <keine> (keine Beschreibung vorhanden)
un hpijs-ppds <keine> <keine> (keine Beschreibung vorhanden)
ii hplip 3.16.3+repack0-1 amd64 HP Linux Printing and Imaging System (HPLIP)
un hplip-cups <keine> <keine> (keine Beschreibung vorhanden)
ii hplip-data 3.16.3+repack0-1 all HP Linux Printing and Imaging - data files
un hplip-doc <keine> <keine> (keine Beschreibung vorhanden)
un hplip-gui <keine> <keine> (keine Beschreibung vorhanden)
|
2. cupsd -t
| "/etc/cups/cups-files.conf" is OK.
"/etc/cups/cupsd.conf" is OK.
|
3. python3 /usr/share/hplip/check.py
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267 | [01mSaving output in log file: /home/adler/Dokumente/hp-check.log[0m
[01mHP Linux Imaging and Printing System (ver. 3.17.4)[0m
[01mDependency/Version Check Utility ver. 15.1[0m
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.
[01mNote: hp-check can be run in three modes:[0m
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.8.0-46-generic #49~16.04.1-Ubuntu SMP Fri Mar 31 14:51:03 UTC 2017 GNU/Linux
Host: adler-Revo-M1-601
Proc: 4.8.0-46-generic #49~16.04.1-Ubuntu SMP Fri Mar 31 14:51:03 UTC 2017 GNU/Linux
Distribution: ubuntu 16.04
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.17.4
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 16.04 version
[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.17.4
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.17.4
html=/usr/share/doc/hplip-3.17.4
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.17.4
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=no
[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
[plugin]
installed = 1
eula = 1
version = 3.17.4
[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
[upgrade]
notify_upgrade = true
last_upgraded_time = 1493655533
pending_upgrade_time = 0
latest_available_version = 3.16.11
[installation]
date_time = 05/07/17 19:23:14
version = 3.17.4
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri =
printer_name = HP-LaserJet-M1005
working_dir = .
[commands]
scan = /usr/bin/simple-scan %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>
--------------------------
| External Dependencies |
--------------------------
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
network network -wget OPTIONAL - 1.17.1 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.1.3 OK 'CUPS Scheduler is running'
dbus DBus - Message bus system REQUIRED - 1.10.6 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.18 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
-------------------------
| General Dependencies |
-------------------------
libpthread libpthread - POSIX threads library REQUIRED - b'2.23' OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.1.3 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
python3-xml Python XML libraries REQUIRED - 2.1.0 OK -
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.1.3 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.25 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
sane SANE - Scanning library REQUIRED - 1.0.25 OK -
---------------
| COMPILEDEP |
---------------
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 OK -
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
----------------------
| Python Extentions |
----------------------
cupsext CUPS-Extension REQUIRED - 3.17.4 OK -
hpmudext IO-Extension REQUIRED - 3.17.4 OK -
-----------------------
| Scan Configuration |
-----------------------
hpaio HPLIP-SANE-Backend REQUIRED - 3.17.4 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.17.4 OK -
-----------------------
| Other Dependencies |
-----------------------
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/usb/HP_LaserJet_M1005?serial=KJ1D3Q2' is a Hewlett-Packard HP_LaserJet_M1005 all-in-one
device `hpljm1005:libusb:001:007' is a Hewlett-Packard LaserJet M1005 multi-function peripheral
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- -----------------
hp:/usb/HP_LaserJet_M1005?serial HP LaserJet M1005
=KJ1D3Q2
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
[01mHP-LaserJet-M1005[0m
[01m-----------------[0m
Type: Printer
Device URI: hp:/usb/HP_LaserJet_M1005?serial=KJ1D3Q2
PPD: /etc/cups/ppd/HP-LaserJet-M1005.ppd
PPD Description:
Printer status: printer HP-LaserJet-M1005 now printing HP-LaserJet-M1005-117. enabled since So 07 Mai 2017 19:16:50 CEST
Rendering completed
Required plug-in status: Installed
Communication status: Good
[01mHP_LaserJet_M1005[0m
[01m-----------------[0m
Type: Printer
Device URI: hp:/usb/HP_LaserJet_M1005?serial=KJ1D3Q2
PPD: /etc/cups/ppd/HP_LaserJet_M1005.ppd
PPD Description:
Printer status: printer HP_LaserJet_M1005 is idle. enabled since So 07 Mai 2017 19:14:55 CEST
Required plug-in status: Installed
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP-LaserJet-M1005 Required - - OK Node:'/dev/bus/usb/001/007' Perm:' root lp rw- rw- rw- rw- rw- r--'
[32;01mNo errors or warnings.[0m
Done.
|
Beim letzten Befehl kommt folgende Warnung:
| warning: Failed to read /etc/cups/ppd/HP_LaserJet_M1005.ppd ppd file
|
Seltsam finde ich, dass erstens eine Datei mit mit diesem Namen in /etc/cups/ppd/ liegt und, dass zweitens dieser Fehler nicht auftaucht wenn ich den python3 Befehl mit sudo ausführe. Gibts da vllt. Probleme mit Zugriffsrechten? Der Drucker druckt leider nach wie vor nicht. Mit ist allerdings aufgefallen, dass wenn ich vor dem | sudo apt-get install hplip hplip-data
|
versucht habe etwas zu drucken, dann plopte rechts oben auf dem Bildschirm ein kleines Nachrichtenfenster auf, welches sagte, dass der Druckauftrag an den Drucker abgeschickt wurde. Kurze Zeit später kam auch nochmal ein Fenster, welches sagte, dass der Druckauftrag abgeschlossen wurde. Jetzt kommt kein Fenster mehr, also weder für "Druckauftrag abgeschickt" noch für "Druckauftrag abgeschlossen".
|
andiradler
Anmeldungsdatum: 8. Mai 2017
Beiträge: Zähle...
|
Wie http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_m1005.html verlautet, brauchst Du noch das Driver Plugin für drucken und scannen. Das installierst Du so. 1) TUI (Kommandozeile/Terminal mit STRG+ALT+T)
| hp-plugin-ubuntu
hp-plugin
|
oder 2) GUI
| sudo apt install hplip-gui
hp-toolbox
|
Actions>Install required plugin edit: das plugin hast Du schon bereits installiert
Andererseits: ändere mal den Besitzer und Ausführungsrecht von der ppd mit sudo chown und sudo chmod
|