LinuxMindItalia

Supporto hardware e software => Supporto hardware => Discussione aperta da: ayler il Giovedì 24 Gennaio 2019, 11:08:17

Titolo: HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Giovedì 24 Gennaio 2019, 11:08:17
Ho appena acquistato una Hp laserjet MFP m28w. La casa indica per gli utenti linux la necessità di installare HPLIP 3.18.9, cosa che ho fatto. La stampante funziona, ma si prende delle lunghe pause di riflessione  :leggi1:. Specie nella stampa dei PDF tra una pagina e l'altra medita un nel po'. Ancora peggio la funzione scanner, per la quale bisogna aspettare un pezzo prima che si avvii e altrettanto prima di avere la pagina pronta.
Immagino sia un problema di driver. Qualcuno ha qualche idea in proposito?
Grazie.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: Tony il Giovedì 24 Gennaio 2019, 16:55:29
Visto che hai già installato hplip, apri un terminale e digita (a stampante accesa)
hp-check

Analizza il risultato, in cerca di dipendenze necessarie e mancanti (installale) oppure di errori.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Giovedì 24 Gennaio 2019, 19:52:31
Grazie della risposta. Il comando non mi dà errori:
~$ hp-check
Saving output in log file: /home/donatella/hp-check.log

HP Linux Imaging and Printing System (ver. 3.18.9)
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: 22-19.1 version is not supported. Using 22-19 versions dependencies to verify and install...

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

Kernel: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
Host: donatella-HP-Pavilion-g6-Notebook-PC
Proc: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
Distribution: 22 19.1
Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.18.9
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 22 distro  19.1 version

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

[hplip]
version=3.18.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.18.9
html=/usr/share/doc/hplip-3.18.9
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.18.9
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.18.9



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

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/HP_LaserJet_MFP_M28-M31?ip=192.168.1.6"
printer_name = HP-LaserJet-MFP-M28-M31
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 = 24/01/2019 19:49:35
version = 3.18.9


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

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

gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.3.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.0           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        -               1.1.7           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.15          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.15          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.18.9          OK         -
hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.18.9          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.18.9          OK         -
cupsext              CUPS-Extension                                               REQUIRED        -               3.18.9          OK         -

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

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


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

No devices found.

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


HP_LaserJet_MFP_M28-M31
-----------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_MFP_M28-M31?ip=192.168.1.6
PPD: /etc/cups/ppd/HP_LaserJet_MFP_M28-M31.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_MFP_M28-M31.ppd ppd file
PPD Description:
Printer status: la stampante HP_LaserJet_MFP_M28-M31 è inattiva.  è stata abilitata da mar 22 gen 2019 16:24:01 CET
Communication status: Good

HP_LaserJet_MFP_M28w_B0D94D_@NPIB0D94D.local
--------------------------------------------
Type: Unknown
Device URI: ipps://NPIB0D94D.local:631/ipp/print


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

No errors or warnings.

Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Giovedì 24 Gennaio 2019, 23:45:19
È connessa con cavo o wifi.

Prova a vedere se i log dicono qualcosa cat /var/log/cups/error_log (potrebbe anche essere vuoto).

Oppure apri Registro di Sistema ==> scheda Syslog, scorri fino a visualizzare le ultime righe in fondo e poi tenta la stampa e vedi se appaiono delle righe (in neretto) relative alla stampa.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Venerdì 25 Gennaio 2019, 08:53:58
l'error log è vuoto. Per quanto riguarda il registro di sistema, ho aperto Registri -> sistema, ho stampato ma non è comparso nulla in fondo.  :boh:
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Venerdì 25 Gennaio 2019, 17:23:16
Quindi secondo il sistema va tutto bene.
CitazioneÈ connessa con cavo o wifi.
è importante saperlo.

Se vuoi tentare di approfondire ancora fai una modifica  al file /etc/cups/cupsd.conf, la riga "LogLevel warn" (è una delle prime che trovi in alto nel file), la fai diventare "LogLevel debug", salvi e dai $ sudo /etc/init.d/cupsys restartpoi riprovi la stampa e con tail -f /var/log/cups/error_log vedi la progressione dei processi di stampa mentre la stampa va in esecuzione.

Tieni d'occhio le righe che appaiono prima delle pause per capire il motivo per cui resta in attesa.
Tieni d'occhio anche righe che riportano "ERROR" (in maiuscolo o minuscolo).

Un altro comando da dare, a prescindere che stampi o meno, dopo un riavvio e con la stampante connessa, è journalctl | grep -i cups dove si possono vedere i problemi intercorsi all'inizializzazione della stampante all'avvio.

Hai già provato la stampa di documenti in testo semplice o comunque non .pdf? stesso comportamento?

I driver hplip li hai già scaricati da  Q U E S T O  (https://developers.hp.com/hp-linux-imaging-and-printing) sito?
Potrebbe essere che i driver hplip di mint non siano all'ultimissima versione.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Venerdì 25 Gennaio 2019, 18:26:45
Grazie Andrea111. Sono in wifi ma col cavo è lo stesso. I file di testo non danno problemi, i PDF quasi sempre. Lo scanner sempre.
Allora, ho modificato cupsd.log ma quando do il comando
sudo /etc/init.d/cupsys restart
mi esce
sudo: /etc/init.d/cupsys: comando non trovato


Quando do
journalctl | grep -i cups

mi escono un sacco di righe ma non mi pare indichino errori.
HPLIP l'ho scaricati dal sito che indichi anche tu.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Sabato 26 Gennaio 2019, 02:58:28
Lascia perdere il comando di riavvio di cups (per dare il comando giusto dovresti guardare in /etc/init.d e cercare il file di cups che può essere uno fra cups, cupsd, cupsys - in base a quello che trovi lo inserisci nel comando al posto di "cupsys").

Ora però ha poca importanza, un riavvio fa lo stesso lavoro di quel comando per cui ora puoi usare il /var/log/cups/error_log.

Dai tail -f /var/log/cups/error_log e poi avvii la stampa.

Devi segnarti le righe che appaiono quando la stampante resta in attesa e se ci sono righe con "error".
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Domenica 27 Gennaio 2019, 20:11:07
Dato il comando da terminale è data la stampa mi compaiono un sacco di righe che non posso postare perché superano il limite di caratteri. L'unico errore segnalato è questo:
D [27/Jan/2019:20:05:43 +0100] [Client 159] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Domenica 27 Gennaio 2019, 22:13:33
L'errore dice qualcosa ma non di definitivo. Al massimo si potrebbe migliorare qualcosa.

Potrebbe essere più interessante esaminare i momenti in cui la stampante resta in stallo.

Quando, avviata la stampa, la macchina si ferma, le righe del log continuano a scorrere o si fermano anche loro - perché sono proprio quelle righe che possono far capire il motivo dello stallo.

Di che dimensione è il file pdf che stampi? se prendi un file più piccolo il log si accorcia da poterlo postare?

Se stampi un file pdf, di una pagina o al massimo due, il log diventa accettabile?

Capisci che intendo? Ridurre la stampa all'essenziale.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Sabato 02 Febbraio 2019, 11:35:47
Non ho avuto l'occasione di stampare documenti grandi. Stampando una o due pagine non ho avuto problemi mentre da terminale mi dà in ogni caso un risultato troppo lungo per essere postato. Compare sempre l'errore che ho segnalato. Vedrò cosa sucecde alla prima occasione in cui avrò la necessità di stampare documenti più voluminosi. Per ora grazie.
:ciao:
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Sabato 02 Febbraio 2019, 19:02:05
Che programma usi per visualizzare (e dare il comando Stampa) il PDF (evince o Adobe-Reader).

Esaminando la risposta di hp-check che hai postato prima:
nelle sezione "General Dependencies" trovi che llibjpeg sembra non essere installato ma è RICHIESTO.
Vedi un po' che risponde dpkg-query -l | grep libjpegse non risultasse installato, installalo e ripeti l'installazione di HPLIP, fai un riavvio e prova la stampa. Nota: Se ci fosse più di un pacchetto "libjpeg" installali tutti.

Un'altra comando sulla cui risposta ci sarebbe da ragionare è lpstat -tavvia la stampa e poi dai il comando (oppure dai il comando e poi avvia la stampa) - vedere un po' che dice - eventualmente confrontarlo con quello delle stampe che filano lisce. Non è un comando molto loquace, ma tanto vale vedere se salta fuori qualcosa.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Sabato 09 Febbraio 2019, 09:25:20
Rieccomi.
Al comando
dpkg-query -l | grep libjpeg

esce
ii  libjpeg-dev:amd64                          8c-2ubuntu8                                      amd64        Independent JPEG Group's JPEG runtime library (dependency package)
ii  libjpeg-turbo8:amd64                       1.5.2-0ubuntu5.18.04.1                           amd64        IJG JPEG compliant runtime library.
ii  libjpeg-turbo8:i386                        1.5.2-0ubuntu5.18.04.1                           i386         IJG JPEG compliant runtime library.
ii  libjpeg-turbo8-dev:amd64                   1.5.2-0ubuntu5.18.04.1                           amd64        Development files for the IJG JPEG library
ii  libjpeg8:amd64                             8c-2ubuntu8                                      amd64        Independent JPEG Group's JPEG runtime library (dependency package)
ii  libjpeg8:i386                              8c-2ubuntu8                                      i386         Independent JPEG Group's JPEG runtime library (dependency package)
ii  libjpeg8-dev:amd64                         8c-2ubuntu8                                      amd64        Independent JPEG Group's JPEG runtime library (dependency package)

Se do
lpstat -t

il risultato è questo, sia  stia stampando o meno:
lo scheduler è in funzione
destinazione predefinita del sistema: HP_LaserJet_MFP_M28-M31
dispositivo per HP_LaserJet_MFP_M28-M31: hp:/net/HP_LaserJet_MFP_M28-M31?ip=192.168.1.6
dispositivo per HP_LaserJet_MFP_M28w_B0D94D_: ipp://NPIB0D94D.local:631/ipp/print
dispositivo per HP_LaserJet_MFP_M28w_B0D94D_@NPIB0D94D.local: ipps://NPIB0D94D.local:631/ipp/print
HP_LaserJet_MFP_M28-M31 sta accettando richieste da sab 09 feb 2019 09:07:54 CET
HP_LaserJet_MFP_M28w_B0D94D_ sta accettando richieste da dom 23 dic 2018 13:15:39 CET
HP_LaserJet_MFP_M28w_B0D94D_@NPIB0D94D.local sta accettando richieste da gio 15 nov 2018 18:41:34 CET
la stampante HP_LaserJet_MFP_M28-M31 sta stampando HP_LaserJet_MFP_M28-M31-222. è stata abilitata da sab 09 feb 2019 09:07:54 CET
Processing page 2...
la stampante HP_LaserJet_MFP_M28w_B0D94D_ è inattiva.  è stata abilitata da dom 23 dic 2018 13:15:39 CET
la stampante HP_LaserJet_MFP_M28w_B0D94D_@NPIB0D94D.local è inattiva.  è stata abilitata da gio 15 nov 2018 18:41:34 CET
HP_LaserJet_MFP_M28-M31-222 donatella         7168   sab 09 feb 2019 09:07:54 CET


Ti mando le ultime righe del comando
tail -f /var/log/cups/error_log

D [09/Feb/2019:09:03:19 +0100] cupsdIsAuthorized: requesting-user-name="root"
D [09/Feb/2019:09:03:19 +0100] cupsdMarkDirty(----S)
D [09/Feb/2019:09:03:19 +0100] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients, printing jobs, and dirty files"
D [09/Feb/2019:09:03:19 +0100] [Client 48] Returning IPP successful-ok for Cancel-Subscription (/) from localhost
D [09/Feb/2019:09:03:19 +0100] [Client 48] Content-Length: 75
D [09/Feb/2019:09:03:19 +0100] [Client 48] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [09/Feb/2019:09:03:19 +0100] [Client 48] con->http=0x561f612eefd0
D [09/Feb/2019:09:03:19 +0100] [Client 48] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x561f612e7d70(IPP_STATE_DATA), pipe_pid=0, file=-1
D [09/Feb/2019:09:03:19 +0100] [Client 48] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [09/Feb/2019:09:03:19 +0100] [Client 48] bytes=0, http_state=0, data_remaining=75
D [09/Feb/2019:09:03:19 +0100] [Client 48] Flushing write buffer.
D [09/Feb/2019:09:03:19 +0100] [Client 48] New state is HTTP_STATE_WAITING
D [09/Feb/2019:09:03:19 +0100] [Client 48] Waiting for request.
D [09/Feb/2019:09:03:19 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [09/Feb/2019:09:03:19 +0100] [Client 48] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [09/Feb/2019:09:03:19 +0100] [Client 48] Closing connection.
D [09/Feb/2019:09:03:19 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [09/Feb/2019:09:03:19 +0100] [Client 47] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [09/Feb/2019:09:03:19 +0100] [Client 47] Closing connection.
D [09/Feb/2019:09:03:19 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [09/Feb/2019:09:03:19 +0100] [Client 2] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [09/Feb/2019:09:03:19 +0100] [Client 2] Closing connection.
D [09/Feb/2019:09:03:19 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
I [09/Feb/2019:09:03:19 +0100] Scheduler shutting down normally.
D [09/Feb/2019:09:03:19 +0100] Discarding unused server-stopped event...
D [09/Feb/2019:09:03:19 +0100] [Client 3] Closing connection.
D [09/Feb/2019:09:03:19 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [09/Feb/2019:09:03:19 +0100] [Client 13] Closing connection.
D [09/Feb/2019:09:03:19 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"


In realtà le pause paiono essersi ridotte. Non così per xsane.
Ho provato a dare lo stesso comando con xsane.
Ecco il risultato
D [09/Feb/2019:09:15:18 +0100] Report: stringpool-alloc-bytes=12576
D [09/Feb/2019:09:15:18 +0100] Report: stringpool-total-bytes=210584
I [09/Feb/2019:09:15:22 +0100] Expiring subscriptions...
D [09/Feb/2019:09:15:22 +0100] Closing client 48 after 300 seconds of inactivity.
D [09/Feb/2019:09:15:22 +0100] [Client 48] Closing connection.
D [09/Feb/2019:09:15:22 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
I [09/Feb/2019:09:15:26 +0100] Expiring subscriptions...
D [09/Feb/2019:09:15:26 +0100] Closing client 50 after 300 seconds of inactivity.
D [09/Feb/2019:09:15:26 +0100] [Client 50] Closing connection.
D [09/Feb/2019:09:15:26 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [09/Feb/2019:09:18:24 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [09/Feb/2019:09:18:24 +0100] [Client 51] Server address is "/run/cups/cups.sock".
D [09/Feb/2019:09:18:24 +0100] [Client 51] Accepted from localhost (Domain)
D [09/Feb/2019:09:18:24 +0100] [Client 51] Waiting for request.
I [09/Feb/2019:09:18:24 +0100] Expiring subscriptions...
D [09/Feb/2019:09:18:24 +0100] Report: clients=1
D [09/Feb/2019:09:18:24 +0100] Report: jobs=123
D [09/Feb/2019:09:18:24 +0100] Report: jobs-active=0
D [09/Feb/2019:09:18:24 +0100] Report: printers=3
D [09/Feb/2019:09:18:24 +0100] Report: stringpool-string-count=11104
D [09/Feb/2019:09:18:24 +0100] Report: stringpool-alloc-bytes=12512
D [09/Feb/2019:09:18:24 +0100] Report: stringpool-total-bytes=210488
D [09/Feb/2019:09:18:24 +0100] [Client 51] POST / HTTP/1.1
D [09/Feb/2019:09:18:24 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [09/Feb/2019:09:18:24 +0100] [Client 51] Read: status=200, state=6
D [09/Feb/2019:09:18:24 +0100] [Client 51] No authentication data provided.
D [09/Feb/2019:09:18:24 +0100] [Client 51] 2.0 CUPS-Get-Printers 1
D [09/Feb/2019:09:18:24 +0100] CUPS-Get-Printers
D [09/Feb/2019:09:18:24 +0100] [Client 51] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [09/Feb/2019:09:18:24 +0100] [Client 51] Content-Length: 237
D [09/Feb/2019:09:18:24 +0100] [Client 51] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [09/Feb/2019:09:18:24 +0100] [Client 51] con->http=0x557bd5e82ef0
D [09/Feb/2019:09:18:24 +0100] [Client 51] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=237, response=0x557bd5e4f670(IPP_STATE_DATA), pipe_pid=0, file=-1
D [09/Feb/2019:09:18:24 +0100] [Client 51] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [09/Feb/2019:09:18:24 +0100] [Client 51] bytes=0, http_state=0, data_remaining=237
D [09/Feb/2019:09:18:24 +0100] [Client 51] Flushing write buffer.
D [09/Feb/2019:09:18:24 +0100] [Client 51] New state is HTTP_STATE_WAITING
D [09/Feb/2019:09:18:24 +0100] [Client 51] Waiting for request.
D [09/Feb/2019:09:18:24 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
I [09/Feb/2019:09:18:25 +0100] Expiring subscriptions...

Grazie per la pazienza.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Sabato 09 Febbraio 2019, 14:38:24
Sempre quel cavolo di errore
CitazioneHTTP_STATE_WAITING Closing for error 32 (Broken pipe)
HPLIP installato è all'ultima versione.

Proviamo un'altra strada:
vediamo quale distro e kernel hai in uso, l'ipotesi è che la versione di HPLIP non sia quella giusta per kernel e distro attuali (forse una versione più vecchia potrebbe funzionare meglio).
Posta uname -a
lsb_release -a
dpkg-query -l | grep -i 'hplip\|printer\|poppler-utils'
e vediamo se esce qualcosa di significativo.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Domenica 10 Febbraio 2019, 12:44:12
Ecco i risultati
uname -a

Linux donatella-HP-Pavilion-g6-Notebook-PC 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

dpkg-query -l | grep -i 'hplip\|printer\|poppler-utils'

ii  bluez-cups                                 5.48-0ubuntu3.1                                  amd64        Bluetooth printer driver for CUPS
ii  foomatic-db-compressed-ppds                20180306-1                                       all          OpenPrinting printer support - Compressed PPDs derived from the database
ii  hplip-data                                 3.17.10+repack0-5                                all          HP Linux Printing and Imaging - data files
rc  hplip-gui                                  3.17.10+repack0-5                                all          HP Linux Printing and Imaging - GUI utilities (Qt-based)
ii  ippusbxd                                   1.32-2                                           amd64        Daemon for IPP USB printer support
ii  libgutenprint2                             5.2.13-2                                         amd64        runtime for the Gutenprint printer driver library
ii  openprinting-ppds                          20180306-1                                       all          OpenPrinting printer support - PostScript PPD files
ii  poppler-utils                              0.62.0-2ubuntu2.6                                amd64        PDF utilities (based on Poppler)
ii  printer-driver-brlaser                     4-1                                              amd64        printer driver for (some) Brother laser printers
ii  printer-driver-c2esp                       27-4                                             amd64        printer driver for Kodak ESP AiO color inkjet Series
ii  printer-driver-foo2zjs                     20170320dfsg0-4                                  amd64        printer driver for ZjStream-based printers
ii  printer-driver-foo2zjs-common              20170320dfsg0-4                                  all          printer driver for ZjStream-based printers - common files
ii  printer-driver-gutenprint                  5.2.13-2                                         amd64        printer drivers for CUPS
ii  printer-driver-hpcups                      3.17.10+repack0-5                                amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  printer-driver-m2300w                      0.51-13                                          amd64        printer driver for Minolta magicolor 2300W/2400W color laser printers
ii  printer-driver-min12xxw                    0.0.9-10                                         amd64        printer driver for KonicaMinolta PagePro 1[234]xxW
ii  printer-driver-pnm2ppa                     1.13+nondbs-0ubuntu6                             amd64        printer driver for HP-GDI printers
ii  printer-driver-ptouch                      1.4.2-3                                          amd64        printer driver Brother P-touch label printers
ii  printer-driver-pxljr                       1.4+repack0-5                                    amd64        printer driver for HP Color LaserJet 35xx/36xx
ii  printer-driver-sag-gdi                     0.1-5                                            all          printer driver for Ricoh Aficio SP 1000s/SP 1100s
ii  printer-driver-splix                       2.0.0+svn315-6fakesync1                          amd64        Driver for Samsung and Xerox SPL2 and SPLc laser printers
ii  system-config-printer                      1.5.11-1ubuntu2                                  all          graphical interface to configure the printing system
ii  system-config-printer-common               1.5.11-1ubuntu2                                  all          backend and the translation files for system-config-printer
ii  system-config-printer-gnome                1.5.11-1ubuntu2                                  all          graphical interface to configure printers (transitional package)
ii  system-config-printer-udev                 1.5.11-1ubuntu2                                  amd64        Utilities to detect and configure printers automatically

Ho installato l'ultima versione di HPLIP come ho trovato indicato qui: https://h30434.www3.hp.com/t5/LaserJet-Printing/LaserJet-MFP-M28w-amp-Linux/td-p/6667058
Provo e disinstallarla e a mettere quella nel repository?

Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Domenica 10 Febbraio 2019, 20:57:47
Com'è che la versione che hai installata risulta essere la 3.17.10?
Prima avevi postato un hp-check che diceva
CitazioneHP Linux Imaging and Printing System (ver. 3.18.9)
E poi mancherebbe il pacchetto hplip che dovrebbe essere il più importante.

In ogni caso, se guardi  Q U I  (https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index) vedi che per quella stampante sarebbero richiesti i driver versione 3.18.04 (o superiori).

Vediamo di chiarire questo mistero: dai di nuovo e in successione dpkg-query -l | grep -i hplip
hp-check -r
e posta tutto insieme.

Nota Bene:
il collegamento da cui scaricare gli ultimi driver è  Q U E S T O  (https://developers.hp.com/hp-linux-imaging-and-printing/gethplip) dopo aver selezionato la distro in cui installi (Linux Mint). Per ora non scaricare nulla, lascia tutto com'è.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Lunedì 11 Febbraio 2019, 18:02:55
Ho installato HPLIP 3.19.1. Non riuscivo a scaricare il plugin durante l0installazione e allora l'ho preso QUI (https://developers.hp.com/hp-linux-imaging-and-printing/plugins).
Ecco i risultati:
dpkg-query -l | grep -i hplip

ii  hplip-data                                 3.17.10+repack0-5                                all          HP Linux Printing and Imaging - data files
rc  hplip-gui                                  3.17.10+repack0-5                                all          HP Linux Printing and Imaging - GUI utilities (Qt-based

hp-check -r

Saving output in log file: /home/donatella/hp-check.log

HP Linux Imaging and Printing System (ver. 3.19.1)
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: 22-19.1 version is not supported. Using 22-19 versions dependencies to verify and install...

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

Kernel: 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 GNU/Linux
Host: donatella-HP-Pavilion-g6-Notebook-PC
Proc: 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 GNU/Linux
Distribution: 22 19.1
Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.19.1
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 22 distro  19.1 version

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

[hplip]
version=3.19.1

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.1
html=/usr/share/doc/hplip-3.19.1
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.19.1
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.19.1



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

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/HP_LaserJet_MFP_M28-M31?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 = 11/02/2019 17:51:18
version = 3.19.1


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

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

gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.3.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.0           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        -               1.1.7           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.15          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.15          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.19.1          OK         -
hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.19.1          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.19.1          OK         -
cupsext              CUPS-Extension                                               REQUIRED        -               3.19.1          OK         -

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

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


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

No devices found.

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


HP_LaserJet_MFP_M28-M31
-----------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_MFP_M28-M31?ip=192.168.1.6
PPD: /etc/cups/ppd/HP_LaserJet_MFP_M28-M31.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_MFP_M28-M31.ppd ppd file
PPD Description:
Printer status: la stampante HP_LaserJet_MFP_M28-M31 è inattiva.  è stata abilitata da lun 11 feb 2019 17:26:47 CET
Communication status: Good

HP_LaserJet_MFP_M28w_B0D94D_
----------------------------
Type: Unknown
Device URI: ipps://NPIB0D94D.local:631/ipp/print
PPD: /etc/cups/ppd/HP_LaserJet_MFP_M28w_B0D94D_.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_MFP_M28w_B0D94D_.ppd ppd file
PPD Description:
Printer status: la stampante HP_LaserJet_MFP_M28w_B0D94D_ è inattiva.  è stata abilitata da lun 11 feb 2019 17:25:49 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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


-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None


Total Errors: 0
Total Warnings: 1


Done.


La stampa ultimamente non mi ha dato problemi particolari, non è veloce ma tutto sommato accettabile. Lo scanner invece è lentissimo nell'avviarsi e nel passaggio tra le varie fasi.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Lunedì 11 Febbraio 2019, 20:58:15
Che cosa usi per scannerizzare? simple-scan o sane o xsane.

Xsane è il più fornito e funzionale. Installalo se già non lo hai fatto.

Per migliorare la stampa puoi provare uno di questi comandi lpadmin -p HP_LaserJet_MFP_M28-M31 -o pdftops-renderer-default=pdftopsoppure lpadmin -p HP_LaserJet_MFP_M28-M31 -o pdftops-renderer-default=pdftocairodai uno di questi, riavvia e poi provi la stampa, poi dai l'altro, riavvii e riprovi la stampa. E vedi se ci sono significative differenze tra l'uno e l'altro.

Per riportare la situazione allo stato originario dai lpadmin -p HP_LaserJet_MFP_M28-M31 -R pdftops-renderer-default
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Martedì 12 Febbraio 2019, 19:43:04
Io uso sempre xsane, ma anche con simple scan il comportamento è lo stesso. Domani proverò con i comandi che mi hai indicato.
:ciao:
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Martedì 12 Febbraio 2019, 23:24:40
Fai un altro controllo per lo scanner con hp-diagnose_plugin
Dovrebbe dirti
CitazioneDevice Plugin is already installed
Se il plugin non dovesse essere essere installato si dovrà installarlo. (ma non credo)
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Giovedì 28 Marzo 2019, 14:04:20
Rieccomi. Le cose vanno male. Allora al comando hp-diagnose_plugin

mi esce
HP Linux Imaging and Printing System (ver. 3.19.1)
Diagnose Plugin 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.19.1)
Plugin Download and Install Utility ver. 2.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.


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

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

HP Linux Imaging and Printing System (ver. 3.19.1)
Plugin Installer ver. 3.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.

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

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

Done.
error: Failed to install Plug-in.
Either you have chosen to skip the Plug-in installation  or entered incorrect Password.

Allora ho provato a reinstallare HPLIP coll risultato che ora quando faccio partire XSANE mi esce
(http://i65.tinypic.com/zvcvtl.png)
Contemporaneamente parte la procedura di installazione del plugin mancante che si arresta subito così:
(http://i64.tinypic.com/f0os5e.png)

Per quanto riguarda la stampante ultimamente andava abbastanza bene, se non fosse che un giorno non mi stampava più i folgli di calc!
Dopo avere reinstallato HPLIP la stampa si è ripresa, non credo per merito suo perché nel toolbox la stampante non si installa. da wifi.
Comincio a perdere le speranze :bonk:
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: angelomarra il Giovedì 28 Marzo 2019, 15:33:51
vedo che non sonp l'unico ad aver problemi con il lato scanner di una Multi Function Printer di HP. E meno male che le HP sono compatibili con linux..... se non lo fossero come staremmo?
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Giovedì 28 Marzo 2019, 15:34:25
Dal Gestore Pacchetti verifica se hai installato gobject-introspection, se non lo è installalo.
Poi riprova hp-diagnose_plugin

@angelomarra - mi sa che hai lo stesso problema di ayler.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Giovedì 28 Marzo 2019, 19:06:44
CitazioneDal Gestore Pacchetti verifica se hai installato gobject-introspection, se non lo è installalo.
Nel gestore pacchetti non c'è ...  :hmm:
No, mi ero sbagliato. Ora lo installo  :roll:
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Giovedì 28 Marzo 2019, 19:21:51
Pacchetto installato ma la situazione non cambia. Mi dà sempre lo stesso errore quando cerca di installare il plugin.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Giovedì 28 Marzo 2019, 22:47:39
Installa anche il pacchetto python-dbus.

Poi collega e accendi la stampante e ricomincia con hp-checknella home troverai il file hp-check.log -- dovresti postarlo o allegarlo
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Venerdì 29 Marzo 2019, 08:11:17
Grazie Andrea.
Il pacchetto Python-dbus era già installato.
Ecco hp-check
hp-check[3213]: info: :
hp-check[3213]: info: :[01mHP Linux Imaging and Printing System (ver. 3.19.1)[0m
hp-check[3213]: info: :[01mDependency/Version Check Utility ver. 15.1[0m
hp-check[3213]: info: :
hp-check[3213]: info: :Copyright (c) 2001-15 HP Development Company, LP
hp-check[3213]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[3213]: info: :This is free software, and you are welcome to distribute it
hp-check[3213]: info: :under certain conditions. See COPYING file for more details.
hp-check[3213]: info: :
hp-check[3213]: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check[3213]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the
hp-check[3213]: info: :HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
hp-check[3213]: info: :are installed to successfully compile HPLIP.                                   
hp-check[3213]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro   
hp-check[3213]: info: :supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
hp-check[3213]: info: :has the proper dependencies installed to successfully run.                     
hp-check[3213]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode   
hp-check[3213]: info: :will check both of the above cases (both compile- and run-time dependencies).   
hp-check[3213]: info: :
hp-check[3213]: info: :Check types:                                                                   
hp-check[3213]: info: :a. EXTERNALDEP - External Dependencies                                         
hp-check[3213]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)   
hp-check[3213]: info: :c. COMPILEDEP - Compile time Dependencies                                       
hp-check[3213]: info: :d. [All are run-time checks]                                                   
hp-check[3213]: info: :PYEXT SCANCONF QUEUES PERMISSION                                               
hp-check[3213]: info: :
hp-check[3213]: info: :Status Types:
hp-check[3213]: info: :    OK
hp-check[3213]: info: :    MISSING       - Missing Dependency or Permission or Plug-in
hp-check[3213]: info: :    INCOMPAT      - Incompatible dependency-version or Plugin-version
hp-check[3213]: info: :
warning: [01m22-19.1 version is not supported. Using 22-19 versions dependencies to verify and install...[0m
hp-check[3213]: info: :
hp-check[3213]: info: :---------------
hp-check[3213]: info: :| SYSTEM INFO |
hp-check[3213]: info: :---------------
hp-check[3213]: info: :
hp-check[3213]: info: : Kernel: 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 GNU/Linux
Host: donatella-HP-Pavilion-g6-Notebook-PC
Proc: 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 GNU/Linux
Distribution: 22 19.1
hp-check[3213]: info: : Bitness: 64 bit

hp-check[3213]: info: :
hp-check[3213]: info: :-----------------------
hp-check[3213]: info: :| HPLIP CONFIGURATION |
hp-check[3213]: info: :-----------------------
hp-check[3213]: info: :
hp-check[3213]: info: :HPLIP-Version: HPLIP 3.19.1
hp-check[3213]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 22 distro  19.1 version
hp-check[3213]: info: :
hp-check[3213]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[3213]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.19.1

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.1
html=/usr/share/doc/hplip-3.19.1
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.19.1
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

hp-check[3213]: info: :
hp-check[3213]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[3213]: info: :Plugins are not installed. Could not access file: File o directory non esistente
hp-check[3213]: info: :
hp-check[3213]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[3213]: info: :[installation]
date_time = 29/03/2019 08:07:50
version = 3.19.1

[upgrade]
notify_upgrade = true
last_upgraded_time = 1553673145
pending_upgrade_time = 0
latest_available_version = 3.17.10

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/HP_LaserJet_MFP_M28-M31?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 =


hp-check[3213]: info: : <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>
hp-check[3213]: info: :
hp-check[3213]: info: :--------------
hp-check[3213]: info: :| COMPILEDEP |
hp-check[3213]: info: :--------------
hp-check[3213]: info: :
hp-check[3213]: info: : gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.3.0           OK         -
hp-check[3213]: info: : make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
hp-check[3213]: info: : libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -
hp-check[3213]: info: :
hp-check[3213]: info: :------------------------
hp-check[3213]: info: :| General Dependencies |
hp-check[3213]: info: :------------------------
hp-check[3213]: info: :
hp-check[3213]: info: : libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.0           OK         -
hp-check[3213]: info: : python-xml           Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
hp-check[3213]: info: : libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           OK         -
hp-check[3213]: info: : sane-devel           SANE - Scanning library development files                    REQUIRED        -               -               OK         -
hp-check[3213]: info: : pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
hp-check[3213]: info: : pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.12.1          OK         -
hp-check[3213]: info: : libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.27            OK         -
hp-check[3213]: info: : python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.15          OK         -
hp-check[3213]: info: : cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           OK         -
hp-check[3213]: info: : python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
hp-check[3213]: info: : cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
hp-check[3213]: info: : reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -
hp-check[3213]: info: : pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.12.1          OK         -
hp-check[3213]: info: : libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
hp-check[3213]: info: : cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           OK         -
hp-check[3213]: info: : python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.15          OK         -
hp-check[3213]: info: : python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
hp-check[3213]: info: : libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
hp-check[3213]: info: : sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
hp-check[3213]: info: :
hp-check[3213]: info: :----------------------
hp-check[3213]: info: :| Scan Configuration |
hp-check[3213]: info: :----------------------
hp-check[3213]: info: :
hp-check[3213]: info: : scanext              Scan-SANE-Extension                                          REQUIRED        -               3.19.1          OK         -
hp-check[3213]: info: : hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.19.1          OK         'hpaio found in /etc/sane.d/dll.conf'
hp-check[3213]: info: :
hp-check[3213]: info: :-------------------------
hp-check[3213]: info: :| External Dependencies |
hp-check[3213]: info: :-------------------------
hp-check[3213]: info: :
hp-check[3213]: info: : gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
hp-check[3213]: info: : scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
hp-check[3213]: info: : cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
hp-check[3213]: info: : network              network -wget                                                OPTIONAL        -               1.19.4          OK         -
hp-check[3213]: info: : policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
hp-check[3213]: info: : xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
hp-check[3213]: info: : dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.2          OK         -
hp-check[3213]: info: : avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -
hp-check[3213]: info: :
hp-check[3213]: info: :---------------------
hp-check[3213]: info: :| Python Extentions |
hp-check[3213]: info: :---------------------
hp-check[3213]: info: :
hp-check[3213]: info: : hpmudext             IO-Extension                                                 REQUIRED        -               3.19.1          OK         -
hp-check[3213]: info: : cupsext              CUPS-Extension                                               REQUIRED        -               3.19.1          OK         -
hp-check[3213]: info: :
hp-check[3213]: info: :------------------------------
hp-check[3213]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[3213]: info: :------------------------------
hp-check[3213]: info: :
hp-check[3213]: info: :device `hpaio:/net/hp_laserjet_mfp_m28-m31?ip=192.168.1.6&queue=false' is a Hewlett-Packard hp_laserjet_mfp_m28-m31 all-in-one
device `hpaio:/net/hp_laserjet_mfp_m28-m31?ip=192.168.1.6&queue=false' is a Hewlett-Packard hp_laserjet_mfp_m28-m31 all-in-one

hp-check[3213]: info: :
hp-check[3213]: info: :--------------------------
hp-check[3213]: info: :| DISCOVERED USB DEVICES |
hp-check[3213]: info: :--------------------------
hp-check[3213]: info: :
hp-check[3213]: info: :No devices found.
hp-check[3213]: info: :
hp-check[3213]: info: :---------------------------------
hp-check[3213]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[3213]: info: :---------------------------------
hp-check[3213]: info: :
hp-check[3213]: info: :
hp-check[3213]: info: :[01mHP_LaserJet_MFP_M28w_B0D94D_[0m
hp-check[3213]: info: :[01m----------------------------[0m
hp-check[3213]: info: :Type: Unknown
hp-check[3213]: info: :Device URI: ipps://NPIB0D94D.local:631/ipp/print
hp-check[3213]: info: :PPD: /etc/cups/ppd/HP_LaserJet_MFP_M28w_B0D94D_.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_MFP_M28w_B0D94D_.ppd ppd file
hp-check[3213]: info: :PPD Description:
hp-check[3213]: info: :Printer status: la stampante HP_LaserJet_MFP_M28w_B0D94D_ è inattiva.  è stata abilitata da ven 29 mar 2019 08:07:13 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
hp-check[3213]: info: :
hp-check[3213]: info: :
hp-check[3213]: info: :--------------
hp-check[3213]: info: :| PERMISSION |
hp-check[3213]: info: :--------------
hp-check[3213]: info: :
hp-check[3213]: info: :
hp-check[3213]: info: :-----------
hp-check[3213]: info: :| SUMMARY |
hp-check[3213]: info: :-----------
hp-check[3213]: info: :
hp-check[3213]: info: :[01mMissing Required Dependencies[0m
hp-check[3213]: info: :[01m-----------------------------[0m
hp-check[3213]: info: :None
hp-check[3213]: info: :
hp-check[3213]: info: :[01mMissing Optional Dependencies[0m
hp-check[3213]: info: :[01m-----------------------------[0m
hp-check[3213]: info: :None

hp-check[3213]: info: :
hp-check[3213]: info: :Total Errors: 0
hp-check[3213]: info: :Total Warnings: 1
hp-check[3213]: info: :
hp-check[3213]: info: :
hp-check[3213]: info: :Done.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: Tony il Venerdì 29 Marzo 2019, 18:16:38
scanimage>image.pnm
funziona?
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Venerdì 29 Marzo 2019, 19:16:45
No, mi dice la stessa cosa
scanimage: open of device hpaio:/net/hp_laserjet_mfp_m28-m31?ip=192.168.1.6&queue=false failed: Error during device I/O

e contemporaneamente parte la solita procedura di installazione del plugin che termina con errore.  :bonk:
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Venerdì 29 Marzo 2019, 20:38:50
Proviamo con l'installazione manuale dei plugin.

Vai  Q U I  (https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/) e ti scarichi il .run della versione uguale a quella di HPLIP (3.19.1), lo metti nella tua home e gli dai i permessi di esecuzione (clic destro sul file, scheda Permessi e spunta su "Permetti esecuzione come programma").
Apri un terminale e ./hplip-3.19.1-plugin.run non usare il "sudo".

Attendi che termini e riprova hp-plugine vedi se dà ancora errore.
Eventualmente fa un riavvio.

Che versione di mint usi? (19.01?) serve saperlo con gli HPLIP..
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Domenica 31 Marzo 2019, 09:52:32
Scusa, ma se clicci sul link per scaricare il plugin mi si apre una pagina di codice. Cosa devo fare, salvarlo in un file di testo e rinominarlo?
Sto usando Mint19.1.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Domenica 31 Marzo 2019, 16:42:46
Dalla pagina del codice fai: clic destro nella pagina ==> Salva pagina con nome.
Ti chiederà dove scaricarlo (tu indica la home).
Per ora procedi in questo modo: quello che non è sicuro è se devi prima disinstallare gli attuali plugin (che non funzionano) ma non penso, dovrebbe fare da solo.
Tu prova ad installarli dandogli il permesso di esecuzione e segui la procedura se va in porto o se dà errori.
Se va in porto ridai hp-plugin per vedere se li "digerisce".
Se li digerisce, fai un riavvio e delle prove di stampa e scannerizzazione.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Domenica 31 Marzo 2019, 18:52:36
Il primo passaggio è andato a buon fine. Il secondo mi dà i soliti errori e nella toolbox di hplip la stampante non si installa. In CUPS invece c'è e in ogni caso stampa (non ho però fatto verifiche approfondite).
L'unica novità positiva che XSANE ha ripreso a funzionare, seppure con i tempi pachidermici di prima ...  :boh:
Titolo: Re:HP lenta a reagire
Inserito da: andrea111 il Lunedì 01 Aprile 2019, 02:03:48
Con hp-plugin -i ottieni sempre i soliti errori che non riesce ad installarli?
Prova a ridarlo.

Andiamo fino in fondo, dato che usi la 19.01, proviamo anche questo specifico per mint 19.01
sudo apt-get remove --purge cups
sudo apt-get install cups
sudo apt install --reinstall cups-filters

fai un riavvio e riprova con stampa e scanner.

Se va buca pure questa si ricomincia daccapo purgando gli HPLIP e ripartendo da quelli base proposti dalla distro.
Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: ayler il Giovedì 11 Aprile 2019, 17:46:58
Allora, sono tornato al punti di partenza. La stampante pare funzionare, salvo smentire, ma lo scanner rimane lentissimo.
Vabbe', me lo tengo così  :boh:
Grazie dell'aiuto e della pazienza.

Titolo: Re:HP laserjet MFP m28 w lenta a reagire
Inserito da: andrea111 il Venerdì 12 Aprile 2019, 01:09:40
I comandi di rimozione di cups che ho postato sopra non hanno avuto alcun effetto?

Quale versione di hplip hai installato ora.