tigram
Anmeldungsdatum: 22. August 2019
Beiträge: 100
|
Da mein Drucker HP LaserJet CP1025 color nicht richtig funktioniert möchte ich ihn komplett deinstallieren und ihn dann wieder neu installieren.
Es ist es nicht gelungen HPLIP - wie im Wiki beschrieben - zu deinstallieren.
Der hplip-Ordner ist in meinem Home-Verzeichnis ein versteckter Ordner:
xx@xx-XXX:~$ ls -A
abcde.EDS8ZlUt7hdxURl8Tk1QEzN43O8-
.bash_history
.bash_logout
.bashrc
Bilder
.cache
.config
Databases.db
Desktop
.dmrc
Dokumente
Downloads
.gnupg
.hplip
.local
.mplayer
.mtpaint
Musik
Öffentlich
.profile
.recently-used
.selected_editor
.sudo_as_admin_successful
.thumbnails
.thunderbird
Videos
Vorlagen
.Xauthority
.xscreensaver
.xsession-errors
.xsession-errors.old Ich habe daher folgendes ausgeführt:
xx@xx-XXX:~$ sudo python uninstall.py
[sudo] Passwort für mg:
sudo: python: Befehl nicht gefunden Sorry, ich bin ein Anfänger ...
Wie kann ich den HP Drucker / HPLIP sauber entfernen, damit es nach einer Neuinstallation nicht zu irgendwelchen Konflikten kommt?
|
DJKUhpisse
Supporter, Wikiteam
Anmeldungsdatum: 18. Oktober 2016
Beiträge: 17660
Wohnort: in deinem Browser, hier auf dem Bildschirm
|
Ist kein Python installiert.
Installation siehe hier: https://wiki.ubuntuusers.de/Python/#Installation
Nimm Python 2.
|
RamSpeicher
Anmeldungsdatum: 17. Juli 2009
Beiträge: 2508
|
tigram schrieb: Da mein Drucker HP LaserJet CP1025 color nicht richtig funktioniert möchte ich ihn komplett deinstallieren und ihn dann wieder neu installieren.
Es ist ja nicht gesagt das damit deine Ursprungssituation gelöst wird. Du hättest bei dieser langen Wartezeit dein Thema durchaus nochmals hoch Holen können 😉 Ich Denke da wäre Niemand Böse gewesen.
Es ist es nicht gelungen HPLIP - wie im Wiki beschrieben - zu deinstallieren.
Na Ja es gibt nicht nur dieses Wiki hier, sondern auch solche Anleitungen. Solange aber dein Drucker mit dem aktuell installierten Treiber Druckt, würde ich auch nichts Verändern sondern lieber die ursprüngliche Situation angehen.
Der hplip-Ordner ist in meinem Home-Verzeichnis ein versteckter Ordner:
Na klar, dort wird die Konfiguration des Druckertreibers hinterlegt. Der wird natürlich nicht Automatisch mit entfernt. Ich habe daher folgendes ausgeführt:
xx@xx-XXX:~$ sudo python uninstall.py
[sudo] Passwort für mg:
sudo: python: Befehl nicht gefunden Demnach hast Du nicht die Version aus den Quellen genommen, wie das hier schon mal in ähnlicher Form jemandem passiert ist.
Sorry, ich bin ein Anfänger ...
Nutzer Bitte für Terminalausgaben den Codeblock.
|
tigram
(Themenstarter)
Anmeldungsdatum: 22. August 2019
Beiträge: 100
|
Hallo RamSpeicher, Danke für deine Antworten.
Du empfiehlst die ursprüngliche Situation anzugehen, statt einer Neuinstallation.
Daher schicke ich die Standard Abfrage bei Drucker-Problemen:
xx@xx-XXX:~$ dpkg -l *cups* lpr* | grep ii
ii cups 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - PPD/driver support, web interface
ii cups-bsd 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - BSD commands
ii cups-client 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 2.2.7-1ubuntu2.7 all Common UNIX Printing System(tm) - common files
ii cups-core-drivers 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - driverless printing
ii cups-daemon 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - daemon
ii cups-filters 1.20.2-0ubuntu3.1 amd64 OpenPrinting CUPS Filters - Main Package
ii cups-filters-core-drivers 1.20.2-0ubuntu3.1 amd64 OpenPrinting CUPS Filters - Driverless printing
ii cups-ipp-utils 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - IPP developer/admin utilities
ii cups-ppdc 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cups-server-common 2.2.7-1ubuntu2.7 all Common UNIX Printing System(tm) - server common files
ii libcups2:amd64 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - Core library
ii libcupscgi1:amd64 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - CGI library
ii libcupsfilters1:amd64 1.20.2-0ubuntu3.1 amd64 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2:amd64 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - Raster image library
ii libcupsmime1:amd64 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - MIME library
ii libcupsppdc1:amd64 2.2.7-1ubuntu2.7 amd64 Common UNIX Printing System(tm) - PPD manipulation library
ii printer-driver-hpcups 3.17.10+repack0-5 amd64 HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii python3-cups 1.9.73-2 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.11-1ubuntu2 all Python utility modules around the CUPS printing system
xx@xx-XXX:~$
Heißt das, dass bei mir Phyton3 installiert ist? DJKUhpisse hat mir die Installation von Phyton2 empfohlen. Ich bin mir aber nicht sicher, ob diese Empfehlung die Gesamtsituation im Blick hat, oder nur meinen Deinstallationsversuch. xx@xx-XXX:~$ dpkg -l libusb* | grep ii
ii libusb-0.1-4:amd64 2:0.1.12-31 amd64 userspace USB programming library
ii libusb-1.0-0:amd64 2:1.0.21-2 amd64 userspace USB programming library
ii libusbmuxd4:amd64 1.1.0~git20171206.c724e70f-0.1 amd64 USB multiplexor daemon for iPhone and iPod Touch devices - library
xx@xx-XXX:~$ dpkg -l | egrep Brother
ii printer-driver-brlaser 4-1 amd64 printer driver for (some) Brother laser printers
ii printer-driver-ptouch 1.4.2-3 amd64 printer driver Brother P-touch label printers
Von Brother habe ich gar keinen Drucker. Soll ich das einfach so lassen? xx@xx-XXX:~$ dpkg -l | egrep hp
ii hplip 3.17.10+repack0-5 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.17.10+repack0-5 all HP Linux Printing and Imaging - data files
ii libhpmud0:amd64 3.17.10+repack0-5 amd64 HP Multi-Point Transport Driver (hpmud) run-time libraries
ii libsane-hpaio:amd64 3.17.10+repack0-5 amd64 HP SANE backend for multi-function peripherals
ii printer-driver-hpcups 3.17.10+repack0-5 amd64 HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii printer-driver-postscript-hp 3.17.10+repack0-5 all HP Printers PostScript Descriptions
xx@xx-XXX:~$ dpkg -l | egrep 'iscan*|esci-*|epson'
xx@xx-XXX:~$ dpkg -l | egrep 'scangear*|cnij*'
xx@xx-XXX:~$ systemctl --no-pager status cups*
● cups.path - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.path; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-12-30 08:45:18 CET; 1h 34min ago
Dez 30 08:45:18 xx-XXX systemd[1]: Started CUPS Scheduler.
● cups.socket - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.socket; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-12-30 08:45:18 CET; 1h 34min ago
Listen: /run/cups/cups.sock (Stream)
CGroup: /system.slice/cups.socket
Failed to dump process list, ignoring: No such file or directory
Dez 30 08:45:18 xx-XXX systemd[1]: Stopping CUPS Scheduler.
Dez 30 08:45:18 xx-XXX systemd[1]: Listening on CUPS Scheduler.
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-12-30 08:45:18 CET; 1h 34min ago
Docs: man:cupsd(8)
Main PID: 1208 (cupsd)
Tasks: 1 (limit: 4182)
CGroup: /system.slice/cups.service
└─1208 /usr/sbin/cupsd -l
Dez 30 09:23:35 xx-XXX hp[1568]: io/hpmud/musb.c 976: removed PRINT c…nt=0
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 427: Found interface…ex=1
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 389: Active kernel d…et=0
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 535: claimed 7/1/2 i…face
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 781: read actual dev…=129
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 561: released 7/1/2 …face
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 961: new PRINT chann…nt=1
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 427: Found interface…ex=1
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 389: Active kernel d…et=0
Dez 30 09:36:52 xx-XXX hp[1755]: io/hpmud/musb.c 535: claimed 7/1/2 i…face
Hint: Some lines were ellipsized, use -l to show in full.
xx@xx-XXX:~$ lpstat -t
Zeitplandienst läuft
Keine systemvoreingestellten Ziele
Gerät für HP_LaserJet_CP1025: hp:/usb/HP_LaserJet_CP1025?serial=00000GF04PNGS
HP_LaserJet_CP1025 akzeptiert anfragen seit Mo 30 Dez 2019 09:37:01 CET
Drucker HP_LaserJet_CP1025 ist im Leerlauf. Aktiviert seit Mo 30 Dez 2019 09:37:01 CET
xx@xx-XXX:~$ lpinfo -v
direct hp:/usb/HP_LaserJet_CP1025?serial=00000GF04PNGS
file cups-brf:/
network beh
network ipp
network lpd
network http
network https
network ipps
network socket
direct usb://HP/LaserJet%20CP1025?serial=00000GF04PNGS
direct hpfax
xx@xx-XXX:~$ hp-info -i
HP Linux Imaging and Printing System (ver. 3.17.10)
Device Information Utility ver. 5.2
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.17.10)
System Tray Status Service ver. 2.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: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
hp:/usb/HP_LaserJet_CP1025?serial=00000GF04PNGS
Device Parameters (dynamic data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
agent1-ack False
agent1-desc Black toner cartridge
agent1-dvc 0
agent1-health 0
agent1-health-desc Good/OK
agent1-hp-ink False
agent1-id 0
agent1-kind 4
agent1-known False
agent1-level 90
agent1-level-trigger 0
agent1-sku CE310A
agent1-type 1
agent1-virgin False
agent2-ack False
agent2-desc Cyan toner cartridge
agent2-dvc 0
agent2-health 0
agent2-health-desc Very low
agent2-hp-ink False
agent2-id 0
agent2-kind 4
agent2-known False
agent2-level 0
agent2-level-trigger 7
agent2-sku CE311A
agent2-type 4
agent2-virgin False
agent3-ack False
agent3-desc Magenta toner cartridge
agent3-dvc 0
agent3-health 0
agent3-health-desc Good/OK
agent3-hp-ink False
agent3-id 0
agent3-kind 4
agent3-known False
agent3-level 40
agent3-level-trigger 0
agent3-sku CE313A
agent3-type 5
agent3-virgin False
agent4-ack False
agent4-desc Yellow toner cartridge
agent4-dvc 0
agent4-health 0
agent4-health-desc Good/OK
agent4-hp-ink False
agent4-id 0
agent4-kind 4
agent4-known False
agent4-level 40
agent4-level-trigger 0
agent4-sku CE312A
agent4-type 6
agent4-virgin False
agent5-ack False
agent5-desc Invalid/missing
agent5-dvc 0
agent5-health 0
agent5-health-desc Good/OK
agent5-hp-ink False
agent5-id 0
agent5-kind 0
agent5-known False
agent5-level 100
agent5-level-trigger 0
agent5-sku CE314A
agent5-type 0
agent5-virgin False
back-end hp
cups-printers ['HP_LaserJet_CP1025']
cups-uri hp:/usb/HP_LaserJet_CP1025?serial=00000GF04PNGS
dev-file
device-state 1
device-uri hp:/usb/HP_LaserJet_CP1025?serial=00000GF04PNGS
deviceid MFG:Hewlett-Packard;MDL:HP LaserJet
CP1025;CMD:ZJS,PJL,ACL;CLS:PRINTER;DES:HP LaserJet
CP1025;FWVER:20100510;LEDMDIS:USff#04#0101
error-state 102
host
in-tray1 1
is-hp True
panel 0
panel-line1
panel-line2
port 1
r 0
rg 000
rr 000000
rs 000000000
serial 00000GF04PNGS
status-code 1604
status-desc Cyan cartridge is low on toner
Model Parameters (static data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
align-type 0
clean-type 0
color-cal-type 0
copy-type 0
embedded-server-type 1
fax-type 0
fw-download False
icon hp_color_laserjet_cp2025.png
io-mfp-mode 3
io-mode 1
io-support 2
job-storage 0
linefeed-cal-type 0
model HP_LaserJet_CP1025
model-ui HP LaserJet cp1025
model1 HP LaserJet Pro CP1025 Color Printer Series
monitor-type 0
panel-check-type 0
pcard-type 0
plugin 1
plugin-reason 1
power-settings 0
pq-diag-type 0
r-type 0
r0-agent1-kind 4
r0-agent1-sku CE310A
r0-agent1-type 1
r0-agent2-kind 4
r0-agent2-sku CE311A
r0-agent2-type 4
r0-agent3-kind 4
r0-agent3-sku CE313A
r0-agent3-type 5
r0-agent4-kind 4
r0-agent4-sku CE312A
r0-agent4-type 6
scan-src 0
scan-type 0
status-battery-check 0
status-dynamic-counters 0
status-type 10
support-released True
support-subtype 2202411
support-type 2
support-ver 3.11.1
tech-class ['LJZjsColor']
tech-subclass ['Advanced']
tech-type 4
usb-pid 2858
usb-vid 1008
wifi-config 0
Done.
xx@xx-XXX:~$
Also da gibt es eine Fehlermeldung "GUI Modules PyQt4 and PyQt5 are not installed" - hat das mit Phyton zu tun? xx@xx-XXX:~$ uname -rm
4.15.0-72-generic x86_64
xx@xx-XXX:~$ lsusb
Bus 002 Device 003: ID 0bda:0186 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 002: ID 0c45:64bd Microdia Sony Visual Communication Camera
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1058:0740 Western Digital Technologies, Inc. My Passport Essential (WDBACY)
Bus 001 Device 003: ID 03f0:0b2a Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
xx@xx-XXX:~$ id
uid=1000(mg) gid=1000(mg) Gruppen=1000(mg),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),122(sambashare)
xx@xx-XXX:~$ ls -l /etc/cups/ppd/*
-rw-r----- 1 root lp 14989 Sep 10 15:33 /etc/cups/ppd/HP_LaserJet_CP1025.ppd
-rw-r----- 1 root lp 14988 Aug 25 13:37 /etc/cups/ppd/HP_LaserJet_CP1025.ppd.O
xx@xx-XXX:~$ Welche Abfragen zur Funktionsweise braucht es ? Alle?
Ich hoffe mit deiner / eurer Hilfe auf die richtige Spur zu kommen.
Herzlichen Dank an alle, die ihr Wissen hier im Forum zur Verfügung stellen.
|
DJKUhpisse
Supporter, Wikiteam
Anmeldungsdatum: 18. Oktober 2016
Beiträge: 17660
Wohnort: in deinem Browser, hier auf dem Bildschirm
|
Zu Python:
Zeige dpkg -l |grep python
Ich frage mich, wie du ohne Python das Skript ausführen konntest (oder du hast da python3 genutzt, das kannst du auch mal statt python probieren). Da dein Drucker von der in den Paketquellen enthaltenen HPLIP-Version unterstützt wird, würde ich diese installieren und nutzen.
Wenn du das grafisch machen willst musst du hplip-gui installieren.
sudo apt install hplip-gui
|
tigram
(Themenstarter)
Anmeldungsdatum: 22. August 2019
Beiträge: 100
|
Zu Phyton:
xx@xx-XXX:~$ dpkg -l |grep python
ii libpython2.7:amd64 2.7.15-4ubuntu4~18.04.2 amd64 Shared Python runtime library (version 2.7)
ii libpython2.7-minimal:amd64 2.7.15-4ubuntu4~18.04.2 amd64 Minimal subset of the Python language (version 2.7)
ii libpython2.7-stdlib:amd64 2.7.15-4ubuntu4~18.04.2 amd64 Interactive high-level object-oriented language (standard library, version 2.7)
ii libpython3-stdlib:amd64 3.6.5-3 amd64 interactive high-level object-oriented language (default python3 version)
ii libpython3.6:amd64 3.6.8-1~18.04.3 amd64 Shared Python runtime library (version 3.6)
ii libpython3.6-minimal:amd64 3.6.8-1~18.04.3 amd64 Minimal subset of the Python language (version 3.6)
ii libpython3.6-stdlib:amd64 3.6.8-1~18.04.3 amd64 Interactive high-level object-oriented language (standard library, version 3.6)
ii python-apt-common 1.6.0 all Python interface to libapt-pkg (locales)
ii python-talloc 2.1.10-2ubuntu1 amd64 hierarchical pool based memory allocator - Python bindings
ii python3 3.6.5-3 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-apport 2.20.9-0ubuntu7.9 all Python 3 library for Apport crash report handling
ii python3-apt 1.6.0 amd64 Python 3 interface to libapt-pkg
ii python3-aptdaemon 1.1.1+bzr982-0ubuntu19 all Python 3 module for the server and client of aptdaemon
ii python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu19 all Python 3 GTK+ 3 widgets to run an aptdaemon client
ii python3-cairo:amd64 1.16.2-1 amd64 Python3 bindings for the Cairo vector graphics library
ii python3-certifi 2018.1.18-2 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ii python3-chardet 3.0.4-1 all universal character encoding detector for Python3
ii python3-commandnotfound 18.04.4 all Python 3 bindings for command-not-found.
ii python3-cups 1.9.73-2 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.11-1ubuntu2 all Python utility modules around the CUPS printing system
ii python3-dbus 1.2.6-1 amd64 simple interprocess messaging system (Python 3 interface)
ii python3-debconf 1.5.66 all interact with debconf from Python 3
ii python3-debian 0.1.32 all Python 3 modules to work with Debian-related data formats
ii python3-defer 1.0.6-2build1 all Small framework for asynchronous programming (Python 3)
ii python3-distro-info 0.18ubuntu0.18.04.1 all information about distributions' releases (Python 3 module)
ii python3-distupgrade 1:18.04.17 all manage release upgrades
ii python3-gdbm:amd64 3.6.5-3 amd64 GNU dbm database support for Python 3.x
ii python3-gi 3.26.1-2 amd64 Python 3 bindings for gobject-introspection libraries
ii python3-gi-cairo 3.26.1-2 amd64 Python 3 Cairo bindings for the GObject library
ii python3-httplib2 0.9.2+dfsg-1 all comprehensive HTTP client library written for Python3
ii python3-idna 2.6-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-minimal 3.6.5-3 amd64 minimal subset of the Python language (default python3 version)
ii python3-netifaces 0.10.4-0.1build4 amd64 portable network interface information - Python 3.x
ii python3-notify2 0.3-3 all desktop notifications API for Python 3
ii python3-pexpect 4.2.1-1 all Python 3 module for automating interactive applications
ii python3-pil:amd64 5.1.0-1 amd64 Python Imaging Library (Python3)
ii python3-pkg-resources 39.0.1-2 all Package Discovery and Resource Access using pkg_resources
ii python3-problem-report 2.20.9-0ubuntu7.9 all Python 3 library to handle problem reports
ii python3-ptyprocess 0.5.2-1 all Run a subprocess in a pseudo terminal from Python 3
ii python3-reportlab 3.4.0-3build1 all ReportLab library to create PDF documents using Python3
ii python3-reportlab-accel:amd64 3.4.0-3build1 amd64 C coded extension accelerator for the ReportLab Toolkit
ii python3-requests 2.18.4-2ubuntu0.1 all elegant and simple HTTP library for Python3, built for human beings
ii python3-requests-unixsocket 0.1.5-3 all Use requests to talk HTTP via a UNIX domain socket - Python 3.x
ii python3-six 1.11.0-2 all Python 2 and 3 compatibility library (Python 3 interface)
ii python3-software-properties 0.96.24.32.1 all manage the repositories that you install software from
ii python3-uno 1:6.0.7-0ubuntu0.18.04.10 amd64 Python-UNO bridge
ii python3-update-manager 1:18.04.11 all python 3.x module for update-manager
ii python3-urllib3 1.22-1ubuntu0.18.04.1 all HTTP library with thread-safe connection pooling for Python3
ii python3-xkit 0.5.0ubuntu2 all library for the manipulation of xorg.conf files (Python 3)
ii python3-yaml 3.12-1build2 amd64 YAML parser and emitter for Python3
ii python3.6 3.6.8-1~18.04.3 amd64 Interactive high-level object-oriented language (version 3.6)
ii python3.6-minimal 3.6.8-1~18.04.3 amd64 Minimal subset of the Python language (version 3.6)
xx@xx-XXX:~$ Um den Drucker aus den Paketquellen zu installieren, ist es - so denke ich - sinnvoll oder nötig, die jetzige Installation sauber zu löschen, damit es zu keinen Konflikten kommt. Oder?
1. Starte die Printerconfig: 2. Entferne den möglicherweise bereits falsch installierten HP! 3. Schließe die Printerkonfig! (Ist es für die Pkt 1-3 egal ob der Drucker über USB angesteckt und / oder eingeschaltet ist?) 4. Ziehe den HP über USB ab! 5. Deinstalliere konkurrierende Pakete:
sudo apt-get purge hplip hpijs
"purge hplip" heißt wohl, dass der versteckte HPLIP Ordner aus meinem Home-Verzeichnis gelöscht wird. Was, wo aber ist "hpijs"? In der Anleitung, auf die RamSpeicher verwiesen hat, heißt es dann weiter:
sudo apt-get install cups build-essential libjpeg62-dev libusb-dev lsb
Verstehe ich es richtig, dass ich diesem 6. Punkt nicht mehr folge, weil es dann wieder eine Installation wäre, die nicht aus den Paketquellen stammt? Bringt das genau das selbe Ergebinis, wie wenn ich die Synaptic-Paketverwaltung öffne und hier
zum vollständigen Entfernen vormerke?
|
DJKUhpisse
Supporter, Wikiteam
Anmeldungsdatum: 18. Oktober 2016
Beiträge: 17660
Wohnort: in deinem Browser, hier auf dem Bildschirm
|
Nimm die in den Quellen gelieferte Version und kompiliere nicht.
Jetzt sudo python3 uninstall.py im Ordner von der manuell installierten HPLIP.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Ich möchte mal auf was Hinweisen tigram schrieb: xx@xx-XXX:~$ dpkg -l | egrep hp
ii hplip 3.17.10+repack0-5 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.17.10+repack0-5 all HP Linux Printing and Imaging - data files
ii libhpmud0:amd64 3.17.10+repack0-5 amd64 HP Multi-Point Transport Driver (hpmud) run-time libraries
ii libsane-hpaio:amd64 3.17.10+repack0-5 amd64 HP SANE backend for multi-function peripherals
ii printer-driver-hpcups 3.17.10+repack0-5 amd64 HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii printer-driver-postscript-hp 3.17.10+repack0-5 all HP Printers PostScript Descriptions
xx@xx-XXX:~$ hp-info -i
HP Linux Imaging and Printing System (ver. 3.17.10)
Device Information Utility ver. 5.2
Es werden von HP aber Fehler gemeldet,darum mal hp-check -r zeigen.
|
tigram
(Themenstarter)
Anmeldungsdatum: 22. August 2019
Beiträge: 100
|
Kellerkind_2009, ich glaube, du hast da eine wichtige Spur gefunden. Da wimmelt es ja nur so von Fehlermeldungen ... oje, oje ... Was nun? xx@xx-XXX:~$ hp-check -r
Saving output in log file: /home/mg/hp-check.log
HP Linux Imaging and Printing System (ver. 3.17.10)
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
warning: 12-18.04 version is not supported. Using 12-17.04 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 GNU/Linux
Host: mg-VPCYB2M1E
Proc: 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 GNU/Linux
Distribution: 12 18.04
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.17.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 12 distro 18.04 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.17.10
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
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=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.17.10
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.17.10
Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%
[fax]
email_address =
voice_phone =
[last_used]
device_uri = hp:/usb/HP_LaserJet_CP1025?serial=00000GF04PNGS
printer_name = HP_LaserJet_CP1025
working_dir = .
[polling]
device_list =
enable = false
interval = 5
[refresh]
enable = false
rate = 30
type = 1
[settings]
systray_messages = 0
systray_visible = 0
[upgrade]
last_upgraded_time = 1566730642
notify_upgrade = false
pending_upgrade_time = 0
[installation]
date_time = 01/02/20 16:36:25
version = 3.17.10
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------------------------
| External Dependencies |
-------------------------
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
error: dbus DBus - Message bus system REQUIRED - 1.12.2 MISSING 'DBUS may not be installed or not running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.19.4 OK -
error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'
------------------------
| General Dependencies |
------------------------
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
libpthread libpthread - POSIX threads library REQUIRED - b'2.27' OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
sane SANE - Scanning library REQUIRED - - OK -
error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 MISSING 'libcrypto needs to be installed'
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.8 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.6.8 MISSING 'python3-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
--------------
| COMPILEDEP |
--------------
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - - MISSING 'gcc needs to be installed'
error: make make - GNU make utility to maintain groups of programs REQUIRED 3.0 - MISSING 'make needs to be installed'
---------------------
| Python Extentions |
---------------------
cupsext CUPS-Extension REQUIRED - 3.17.10 OK -
hpmudext IO-Extension REQUIRED - 3.17.10 OK -
----------------------
| Scan Configuration |
----------------------
'/etc/sane.d/dll.d/hpaio' not found.
hpaio HPLIP-SANE-Backend REQUIRED - 3.17.10 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.17.10 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- ------------------
hp:/usb/HP_LaserJet_CP1025?seria HP LaserJet CP1025
l=00000GF04PNGS
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_CP1025
------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_CP1025?serial=00000GF04PNGS
PPD: /etc/cups/ppd/HP_LaserJet_CP1025.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_CP1025.ppd ppd file
PPD Description:
Printer status: Drucker HP_LaserJet_CP1025 ist im Leerlauf. Aktiviert seit Do 02 Jän 2020 16:36:07 CET
Required plug-in status: Installed
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP_LaserJet_CP1025 Required - - OK Node:'/dev/bus/usb/001/003' Perm:' root lp rw- rw- rw- rw- r--'
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible
error: 'libdbus-1-dev' package is missing/incompatible
error: 'libjpeg-dev' package is missing/incompatible
error: 'libcups2-dev' package is missing/incompatible
error: 'cups-bsd' package is missing/incompatible
error: 'cups-client' package is missing/incompatible
error: 'libcupsimage2-dev' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp-mibs-downloader' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible
error: 'build-essential' package is missing/incompatible
error: 'build-essential' package is missing/incompatible
Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'xsane' package is missing/incompatible
error: 'avahi-utils' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
Total Errors: 17
Total Warnings: 0
Done.
xx@xx-XXX:~$
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Sieht wilder aus als es ist ☺ Zuerst mal [installation]
date_time = 01/02/20 16:36:25 Heute erst Installiert?? Das gute – das Plugin welches du benötigst ist auch Installiert. Eigentlich sollte das Gerät Funktionieren. Zeige mal echo 'Mal sehen voran es scheitert' | tee ~/testdatei.txt lp -P 1 -n 1 -o media=A4 ~/testdatei.txt scanimage -L
|
tigram
(Themenstarter)
Anmeldungsdatum: 22. August 2019
Beiträge: 100
|
Heute erst Installiert??
Ich habe die letzten Tage gar nichts installiert. Woher das Programm / Lubuntu auf die Idee kommt, dass ich gestern (den Drucker?) installiert habe, weiß ich nicht. Lubuntu und Drucker habe ich wohl im August 2019 installiert.
xx@xx-XXX:~$ echo 'Mal sehen voran es scheitert' | tee ~/testdatei.txt
Mal sehen voran es scheitert
xx@xx-XXX:~$
Ist wirklich gemeint, das so im Terminal einzugeben?? xx@xx-XXX:~$ lp -P 1 -n 1 -o media=A4 ~/testdatei.txt
lp: Error - No default destination.
xx@xx-XXX:~$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
xx@xx-XXX:~$
xx@xx-XXX:~$
xx@xx-XXX:~$ lp -P 1 -n 1 -o media=A4 ~/testdatei.txt
lp: Error - No default destination.
xx@xx-XXX:~$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
xx@xx-XXX:~$
Ich habe es sowohl mit ausgeschaltetem als auch mit eingeschaltetem Drucker probiert. Eigentlich sollte das Gerät Funktionieren.
Es ist ja nicht so, dass der Drucker gar nicht geht. Aber im Farbmodus wird die schwarze Schrift ganz verschwommen. Wenn ich in Graustufen drucke, wird der Text aber gestochen scharf.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
Ok,du hast den Drucker nicht als "Default" also lp -d HP_LaserJet_CP1025 -P 1 -n 1 -o media=A4 ~/testdruck.txt sowie lp -d HP_LaserJet_CP1025 /usr/share/cups/data/default-testpage.pdf Das der Drucker eigentlich Funktioniert ist keine Unwichtige Info 😉 Zeige auch mal sudo less /etc/cups/printers.conf und wegen dem Scanner export SANE_DEBUG_DLL=255 && scanimage -L
|
tigram
(Themenstarter)
Anmeldungsdatum: 22. August 2019
Beiträge: 100
|
Ok,du hast den Drucker nicht als "Default" also
Was bedeutet das "nicht als Default" ?
Ausgabe von: sudo less /etc/cups/printers.conf
# Printer configuration file for CUPS v2.2.7
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HP_LaserJet_CP1025>
UUID urn:uuid:3302abe9-1efd-35e8-6def-fbd8ff55eff2
Info HP_LaserJet_CP1025
MakeModel HP LaserJet cp1025, hpcups 3.17.10, requires proprietary plugin
DeviceURI hp:/usb/HP_LaserJet_CP1025?serial=00000GF04PNGS
State Idle
StateTime 1568122376
ConfigTime 1568122414
Type 36876
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
(END)
und wegen dem Scanner
Das Gerät ist ein reiner Laserdrucker, es ist kein Mulitfunktionsgerät mit Scannereinheit.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19610
Wohnort: Schleswig-Holstein
|
tigram schrieb: Was bedeutet das "nicht als Default" ?
Gehe auf Drucker,wähle mit Rechtsklick auf den HP dann >Als Vorgabe einstellen< aus – dann ist das dein Default Drucker 😉 und wegen dem Scanner
Das Gerät ist ein reiner Laserdrucker, es ist kein Mulitfunktionsgerät mit Scannereinheit.
Alles klar. Wie sieht der Ausdruck nun aus?
|
tigram
(Themenstarter)
Anmeldungsdatum: 22. August 2019
Beiträge: 100
|
Ich habe zwar meinen Drucker nun als Default / Standarddrucker definiert, aber dass dies nichts an der Qualität des Ausdruckes ändert, wundert mich nicht. Wie sieht der Ausdruck nun aus?
Im Anhang sind 2 Fotos. Jeweils ein schwarzer Text, einmal im Farbmodus gedruckt (muss ja sein, wenn z.B. ein einziges farbiges Wort im Text ist) und einmal im Graustufenmodus.
Ich hätte gerne, dass ein schwarzer Text auch im Farbmodus scharf gedruckt wird und nicht verschwommen.
- Bilder
|