News:

è disponibile So.Di.Linux 2025, distro italiana per la scuola basata su mint mate 20 >>> clicca qui

Menu principale

[RISOLTO] stampante HPLaser Jet -P1005 non funziona più

Aperto da ubunjac, Domenica 23 Agosto 2020, 09:04:22

Discussione precedente - Discussione successiva

ubunjac

Ciao,
la mia stampante HPLaser Jet -P1005 non funziona più sul portatile Hp e OS Linux Mint Tricia 19.3.
Ho provato a staccarla, eliminarla e reinstallarla d'accapo ma senza ottenere nulla purtroppo.
Qualcuno mi può dare una dritta?
Grazie in anticipo. :ciao:

bobol

Direi che sia il caso di dire in che momento ha smesso di funzionare o meglio in seguito a quale tipo di intervento fatto sul sistema, altrimenti l'unica cosa che mi viene in mente è che sia passata a miglior vita  ;D

ubunjac

Grazie Bobol, è un piacere incontrarti di nuovo.

Già, la mia stampante è vecchia ma è talmente diffusa che nutro ancora speranze...

Suppongo si sia bloccato tutto dopo gli aggiornamenti del 19 di agosto: libcurl3-gnutls , curl e libcurl4
(tutti da 7.58.0-2 ubuntu 3.9 a 7.58.0-2 ubuntu 3.10)
(tra l'altro su questa postazione TRICIA è Mate e non Cinnamon; non so se può essere influente... :boh:)

Intanto grazie



Tony


Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

ubunjac

Hp-doctor non ha trovato hplip.

Ho scaricato e installato la versione 3.20.6 run.
A cose fatte la stampante no funziona ugualmente.

hp-doctor ora da questo output:

HP-ENVY-15-Notebook-PC:~$ hp-doctor

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

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


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

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



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


Checking for HPLIP updates....

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

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

Latest version of HPLIP is already installed.


Checking for Dependencies....

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

Kernel: 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 GNU/Linux
Host: jmjac-HP-ENVY-15-Notebook-PC
Proc: 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 GNU/Linux
Distribution: 22 19.3
Bitness: 64 bit


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

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

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

[hplip]
version=3.20.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.20.6
html=/usr/share/doc/hplip-3.20.6
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.20.6
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:
Plugins are not installed. Could not access file: File o directory non esistente

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

[installation]
date_time = 23/08/2020 20:06:46
version = 3.20.6

[last_used]
device_uri = hp:/usb/HP_LaserJet_P1005?serial=BB08YXZ


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

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

gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.5.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.1.1           OK         -
python-xml           Python XML libraries                                         REQUIRED        -               2.2.5           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        -               -               OK         -
pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               5.1.0           OK         -
pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.12.1          OK         -
libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.27            OK         -
python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.17          OK         -
cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           OK         -
python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -
pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.12.1          OK         -
libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           OK         -
python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.17          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        -               -               OK         -

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

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

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

gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
network              network -wget                                                OPTIONAL        -               1.19.4          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.12.2          OK         -
avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

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

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

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

device `plustek:libusb:001:010' is a Canon CanoScan N1240U/LiDE30 flatbed scanner


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

  Device URI                        Model           
  --------------------------------  -----------------
  hp:/usb/HP_LaserJet_P1005?serial  HP LaserJet P1005
  =BB08YXZ                                           

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


Hewlett-Packard-HP-LaserJet-P1005
---------------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_P1005?serial=BB08YXZ
PPD: /etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1005.ppd
warning: Failed to read /etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1005.ppd ppd file
PPD Description:
Printer status: la stampante Hewlett-Packard-HP-LaserJet-P1005 è inattiva.  è stata abilitata da dom 23 ago 2020 19:46:41 CEST
Communication status: Good


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

USB             Hewlett-Packard-HP-LaserJet-P1005 Required        -        -        OK       Node:'/dev/bus/usb/001/015' Perm:'  root  lp rw- rw- rw- rw- r--'


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1005.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1005.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


e questa schermata:

https://imgur.com/dhgD6af

dopo lpinfo -v

HP-ENVY-15-Notebook-PC:~$ lpinfo -v
file cups-brf:/
network lpd
network beh
network https
network http
network ipp
network socket
network ipps
network smb
direct usb://HP/LaserJet%20P1005?serial=BB08YXZ
direct hp:/usb/HP_LaserJet_P1005?serial=BB08YXZ

direct hpfax


e poi hp-setup:

HP-ENVY-15-Notebook-PC:~$ hp-setup

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

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

Searching... (bus=usb, search=(None), desc=0)
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz' not found.
error:  Firmware download is Failed.

Done.


Mi sto impantanando?


Tony

L'errore in figura dice di aprire la porta del firewall indicata.
Proverei inoltre ad installare hp-plugin che da quel che leggo sul sito di hplip è richiesto per la tua stampante.

Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

ubunjac

Grazie Tony,  fatto quanto proposto ma senza esito positivo.

Il plugin da installare dovrebbe essere il 2.7.11

L'ho trovato:
su questa pagina HP

su questa riga:
https://imgur.com/wxlhDYA

ma ora non saprei come continuare...

ubunjac


Tony

Come hai installato il plug-in?
Va fatto aprendo un terminale e dando il comando
hp-plugin

Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

ubunjac

Ecco fatto ma c'è ancora un problema
$ hp-plugin

HP Linux Imaging and Printing System (ver. 3.20.6)
Plugin Download and Install Utility ver. 2.1

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

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.

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

HP Linux Imaging and Printing System (ver. 3.20.6)
Plugin Installer ver. 3.0

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

Plug-in version: 3.20.6
Installed HPLIP version: 3.20.6
Number of files to install: 64

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

Done.

Tony

sudo apt-get install apparmor-utils
sudo aa-disable /usr/share/hplip/plugin.py
hp-plugin
Vedi se va.

Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

ubunjac

Tony :ok:

Funziona tutto. Grazie mille.
E dire che stavo già cercando la stampante con la quale sostituire il mio ferro vecchio! Meno male!

Alla prossima e grazie ancora a te a tutti. :ciao: :ciao:

Tony


Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

mortaretto

 :hs: gran bel lavoro di supporto tony,i mie sinceri complimenti perchè la soluzione non era per niente facile ed un bravo anche a ubunjac per come ha seguito le istruzioni e riportato gli esiti dei varii tentativi ..............  :ok: :ok: :ok:
finchè c'è MATE,c'è speranza