Mint 18 nie działa drukowanie i skanowanie HPLIP


(Robin-Otzi) #1

Jak mogę usunąć lub przeinstalować HPLIP?
Drukarka sieciowa znaleziona i zainstalowana, ale wywala błąd przy próbie drukowania.
HPLIP nie uruchamia się.


(pocolog) #2

apt install --reinstall hplip-gui
Czy jak się tam twój pakiet nazywa, ale wątpię, że to rozwiąże twój problem.
Musisz podać jaki komunikat błędu dostajesz, aby ktoś mógł ci udzielić pomocy.


(MartinaNeumayer) #3

Podłącz drukarkę (nie musi być lokalnie, jeśli to sieciowa), włącz ją i daj wynik z komendy: inxi -Fxz
Wklej to co wypluje terminal na pastebina i zarzuć tu linkiem.
Jeśli nie masz inxi, to go zainstaluj.


(Robin-Otzi) #4

CytatSystem: Host: Pollco-Mint Kernel: 4.10.0-40-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.2 Sonya
Machine: System: Hewlett-Packard product: HP Compaq dc5850 Microtower
Mobo: Hewlett-Packard model: 3029h
Bios: Hewlett-Packard v: 786F6 v03.14 date: 11/15/2011
CPU: Dual core AMD Athlon 64 X2 4200+ (-MCP-) cache: 1024 KB
flags: (lm nx sse sse2 sse3 svm) bmips: 3989
clock speeds: max: 2200 MHz 1: 1000 MHz 2: 1000 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV610 [Radeon HD 2400 PRO/XT]
bus-ID: 02:00.0
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: 1440x900@60.02hz
GLX Renderer: Gallium 0.4 on AMD RV610 (DRM 2.49.0 / 4.10.0-40-generic, LLVM 4.0.0)
GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio: Card Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k4.10.0-40-generic
Network: Card: Broadcom NetXtreme BCM5754 Gigabit Ethernet PCI Express
driver: tg3 v: 3.137 bus-ID: 3f:00.0
IF: enp63s0 state: up speed: 100 Mbps duplex: full mac:
Drives: HDD Total Size: 250.0GB (12.5% used)
ID-1: /dev/sda model: ST3250318AS size: 250.0GB
Partition: ID-1: / size: 37G used: 9.0G (27%) fs: ext4 dev: /dev/sda6
ID-2: /boot size: 555M used: 501M (96%) fs: ext3 dev: /dev/sda5
ID-3: /home size: 31G used: 18G (61%) fs: ext4 dev: /dev/sda7
ID-4: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 28.0C mobo: N/A gpu: 58.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 193 Uptime: 6:15 Memory: 2371.3/7965.8MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35


(Robin-Otzi) #5

przeinstalowałem wszystko co ma w nazwie HPLIP i program ruszył, ale drukowanie nadal nie działa :cry:
testowanie daje taki wynik:

Sformatowany blok tekstu poprzedź 4 spacjami
HP Linux Imaging and Printing System (ver. 3.17.11)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.17.11)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

 

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


Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.17.11)
HPLIP upgrade latest version ver. 1.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Latest version of HPLIP is already installed.


Checking for Dependencies....

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

 Kernel: 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 GNU/Linux
 Host: Pollco-Mint
 Proc: 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 GNU/Linux
 Distribution: 22 18.2
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.17.11
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro  18.2 version 

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

[hplip]
version=3.17.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.17.11
html=/usr/share/doc/hplip-3.17.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.17.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=yes
class-driver=no


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



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

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/HP_Color_LaserJet_Pro_MFP_M176n?ip=192.168.1.6"
printer_name = 
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 28.12.2017 11:43:27
version = 3.17.11


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

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

 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               5.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -

------------------------
| General Dependencies |
------------------------

 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.2           OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.0.25          OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.11.4          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.23            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.12          OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.1.3           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.3.0           OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.11.4          OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.1.3           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.12          OK         -
 python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               1.0.25          OK         -

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

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

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

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.18            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.1.3           OK         'CUPS Scheduler is running'
 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         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.10.6          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.32          OK         -

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

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

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

device `hpaio:/net/HP_Color_LaserJet_Pro_MFP_M176n?ip=192.168.1.6' is a Hewlett-Packard HP_Color_LaserJet_Pro_MFP_M176n all-in-one


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

No devices found.

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

 
Hewlett-Packard-HP-Color-LaserJet-Pro-MFP-M176n
-----------------------------------------------
Type: Unknown
Device URI: socket://192.168.1.6:9100
PPD: /etc/cups/ppd/Hewlett-Packard-HP-Color-LaserJet-Pro-MFP-M176n.ppd
warning: Failed to read /etc/cups/ppd/Hewlett-Packard-HP-Color-LaserJet-Pro-MFP-M176n.ppd ppd file
PPD Description: 
Printer status: printer Hewlett-Packard-HP-Color-LaserJet-Pro-MFP-M176n is idle.  enabled since pon, 18 gru 2017, 11:37:36
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP_Color_LaserJet_Pro_MFP_M176n
-------------------------------
Type: Printer
Device URI: hp:/net/HP_Color_LaserJet_Pro_MFP_M176n?ip=192.168.1.6
PPD: /etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M176n.ppd
warning: Failed to read /etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M176n.ppd ppd file
PPD Description: 
Printer status: printer HP_Color_LaserJet_Pro_MFP_M176n now printing HP_Color_LaserJet_PProcessing page 1...abled since czw, 28 gru 2017, 11:41:45
Communication status: Good


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

 

Checking Permissions....


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


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



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


Please close this terminal manually.

(pocolog) #6

Wrzuć to w znaczniki kodu (tutaj się to dziwnie nazywa “tekst sformatowany”) bo tego się czytać nie chce nawet.

Wejdź w przeglądarce internetowej na stronę “localhost:631”, w górnej belce kliknij “administration”, w sekcji printers kliknij “menage printers”. Teraz usuń wszystkie drukarki które są tu widoczne.
Jeśli nie była podłączona drukarka to zrób to teraz. Wróć do adninistratnions i w sekcji printers kliknij “add printer”. W tym miejscu powinna być wykryta twoja drukarka więc ją wybierz i postępu za kreatorem. Jeśli nie została wykryta automatycznie to sam ją wybierz.


(Robin-Otzi) #7

Próbowałem, ale nie weszło :wink:


(Domker) #8

Doinstaluj “gutenprint”

To jest chyba twój problem. Plik odpowiedni PPD jest niezbędny.


(Robin-Otzi) #9

Po aktualizacji wszystkich komponentów i restarcie zaczął drukować.
Dzięki za pomoc!


(MartinaNeumayer) #10

Lol… to guten’a nie ma już w paczce hplip’a? Nawet nie wiedziałam :wink: