Problemi con CUPS...

Informazioni, consigli e novità sulla galassia delle distribuzioni GNU/Linux, *nix, *BSD e su altri sistemi operativi non liberi.
Scrivi risposta
stefanoxjx
Prode Principiante
Messaggi: 225
Iscrizione: giovedì 5 aprile 2007, 22:00

Problemi con CUPS...

Messaggio da stefanoxjx »

Ciao a tutti, ho un problema con cups.
A dire il vero ce l'ho su Debian Jessie, ma essendo che ubuntu è una derivata ho pensato che andasse bene scrivere anche qui :)
Quindi, spero di non essere troppo invasivo chiedendo un aiuto su Debian in questo forum, anche perchè sto usando ancora ubuntu ma volevo provare anche debian.
Veniamo al problema...
Premetto che da subito la stampa ha sempre funzionato bene, poi (senza mai aver fatto nessun aggiornamento) ha iniziato a dare alcuni errori durante le stampe fino ad arrivare ad oggi dove non si riesce a fare più nessuna stampa.
Avendo configurato la stampante tramite il pannello di controllo di cinnamon ho deciso di cancellarla e riconfigurarla tramite cups.
Sorpresa sorpresa, localhost:631, 127.0.0.1:631, 192.168.0.98:631 (ip del mio PC) non riescono ad accedere a cups, come se il servizio non esistesse.
Provo quindi con telnet ma dietro alla porta 631 non c'è nessuno ad aspettare la chiamata :(
- Provo a vedere se il demone è attivo con ps aux | grep cups e sembra tutto ok, trovando nei demoni attivi sia cups che cups-browsed.
- Provo quindi ad arrestare e far ripartire i due servizi che sembrano ripartire senza errori, ma il problema non si risolve.
- Provo a rimuovere cups e cups-browsed con un bel purge e successivamente a reinstallarli ma niente da fare
- Provo a prendere il file cupsd.conf di ubuntu e a metterlo al posto di quello di debian (che non mi convinceva molto) et voilà, finalmente riesco ad accedere
- Configuro la stampante e faccio una stampa ma la prima va a buon fine e la seconda mi riporta un errore backend /usr/lib/cups/backend hp does not exist
Dopo svariate ricerche riesco a far sparire questo errore e riesco a fare una stampa, ma la seconda già non va ancora.
Ora mi trovo con l'errore "filter failed", però dopo mezza giornata di prove getto la spugna e chiedo aiuto.
La stampante è una HP LaserJet P2015 collegata in rete.
Se lancio una stampa, su /var/log/cups/error_log trovo per ogni singola stampa un pacco di errori infinito.
Questi sono gli errori riportati per una singola stampa (con loglevel=debug)

Codice: Seleziona tutto

D [28/Nov/2016:18:26:40 +0100] [Client 14] Sending file.

****** Queste righe sono ripetute per centinaia di volte ******
D [28/Nov/2016:18:26:40 +0100] cupsd is not idle any more, canceling shutdown.
D [28/Nov/2016:18:26:40 +0100] [Client 14] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=39318, response=(nil)(), pipe_pid=0, file=16
*********************************************************
D [28/Nov/2016:18:26:40 +0100] [Client 14] Waiting for request.
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [28/Nov/2016:18:26:40 +0100] cupsd is not idle any more, canceling shutdown.
D [28/Nov/2016:18:26:40 +0100] [Client 15] POST / HTTP/1.1
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [28/Nov/2016:18:26:40 +0100] [Client 15] No authentication data provided.
D [28/Nov/2016:18:26:40 +0100] [Client 15] 2.0 Get-Jobs 76
D [28/Nov/2016:18:26:40 +0100] Get-Jobs ipp://localhost/printers/
D [28/Nov/2016:18:26:40 +0100] [Job 57] Loading attributes...
D [28/Nov/2016:18:26:40 +0100] [Client 15] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost
D [28/Nov/2016:18:26:40 +0100] [Client 15] Content-Length: 185
D [28/Nov/2016:18:26:40 +0100] cupsd is not idle any more, canceling shutdown.
D [28/Nov/2016:18:26:40 +0100] [Client 15] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=185, response=0x7ff4d453c090(IPP_IDLE), pipe_pid=0, file=-1
D [28/Nov/2016:18:26:40 +0100] [Client 15] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
D [28/Nov/2016:18:26:40 +0100] [Client 15] bytes=0, http_state=0, data_remaining=0
D [28/Nov/2016:18:26:40 +0100] [Client 15] Waiting for request.
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [28/Nov/2016:18:26:40 +0100] cupsd is not idle any more, canceling shutdown.
D [28/Nov/2016:18:26:40 +0100] [Client 15] POST / HTTP/1.1
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [28/Nov/2016:18:26:40 +0100] [Client 15] No authentication data provided.
D [28/Nov/2016:18:26:40 +0100] [Client 15] 2.0 Get-Jobs 77
D [28/Nov/2016:18:26:40 +0100] Get-Jobs ipp://localhost/printers/
D [28/Nov/2016:18:26:40 +0100] [Job 56] Loading attributes...
D [28/Nov/2016:18:26:40 +0100] [Job 55] Loading attributes...
D [28/Nov/2016:18:26:40 +0100] [Job 54] Loading attributes...
D [28/Nov/2016:18:26:40 +0100] [Job 53] Loading attributes...
D [28/Nov/2016:18:26:40 +0100] [Job 52] Loading attributes...
D [28/Nov/2016:18:26:40 +0100] [Job 50] Loading attributes...
D [28/Nov/2016:18:26:40 +0100] [Job 51] Loading attributes...
D [28/Nov/2016:18:26:40 +0100] [Client 15] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost
D [28/Nov/2016:18:26:40 +0100] [Client 15] Content-Length: 845
D [28/Nov/2016:18:26:40 +0100] cupsd is not idle any more, canceling shutdown.
D [28/Nov/2016:18:26:40 +0100] [Client 15] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=845, response=0x7ff4d454d5b0(IPP_IDLE), pipe_pid=0, file=-1
D [28/Nov/2016:18:26:40 +0100] [Client 15] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
D [28/Nov/2016:18:26:40 +0100] [Client 15] bytes=0, http_state=0, data_remaining=0
D [28/Nov/2016:18:26:40 +0100] [Client 15] Waiting for request.
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [28/Nov/2016:18:26:40 +0100] cupsd is not idle any more, canceling shutdown.
D [28/Nov/2016:18:26:40 +0100] [Client 14] PUT /admin/conf/cupsd.conf HTTP/1.1
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [28/Nov/2016:18:26:40 +0100] [Client 14] Authorized as root using PeerCred
D [28/Nov/2016:18:26:40 +0100] cupsdIsAuthorized: username="root"
D [28/Nov/2016:18:26:40 +0100] cupsd is not idle any more, canceling shutdown.
I [28/Nov/2016:18:26:40 +0100] Installing config file "/etc/cups/cupsd.conf"...
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [28/Nov/2016:18:26:40 +0100] [Client 14] Closing connection.
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [28/Nov/2016:18:26:40 +0100] [Client 15] Closing connection.
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
I [28/Nov/2016:18:26:40 +0100] Generating printcap /var/run/cups/printcap...
D [28/Nov/2016:18:26:40 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
W [28/Nov/2016:18:26:40 +0100] Duplicate listen address "/var/run/cups/cups.sock" ignored.
E [28/Nov/2016:18:26:40 +0100] Unknown directive JobPrivateAccess on line 84 of /etc/cups/cupsd.conf.
E [28/Nov/2016:18:26:40 +0100] Unknown directive JobPrivateValues on line 85 of /etc/cups/cupsd.conf.
E [28/Nov/2016:18:26:40 +0100] Unknown directive SubscriptionPrivateAccess on line 86 of /etc/cups/cupsd.conf.
E [28/Nov/2016:18:26:40 +0100] Unknown directive SubscriptionPrivateValues on line 87 of /etc/cups/cupsd.conf.
W [28/Nov/2016:18:26:40 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP_HP_LaserJet_P2015_Series-Gray..' already exists
Ci sono alcune righe che mi preoccupano e nello specifico:

Codice: Seleziona tutto

E [28/Nov/2016:18:26:40 +0100] Unknown directive JobPrivateAccess on line 84 of /etc/cups/cupsd.conf.
E [28/Nov/2016:18:26:40 +0100] Unknown directive JobPrivateValues on line 85 of /etc/cups/cupsd.conf.
E [28/Nov/2016:18:26:40 +0100] Unknown directive SubscriptionPrivateAccess on line 86 of /etc/cups/cupsd.conf.
E [28/Nov/2016:18:26:40 +0100] Unknown directive SubscriptionPrivateValues on line 87 of /etc/cups/cupsd.conf.
che vedevo anche con il file cupsd.conf originale debian.

Poi, nel log con Loglevel=warn sono apparse anche queste righe che però non vedo nella versione con loglevel=debug:

Codice: Seleziona tutto

D [28/Nov/2016:18:20:26 +0100] [Job 56] PID 8214 (gs) crashed on signal 11!
D [28/Nov/2016:18:20:26 +0100] [Job 56] PID 8215 (pstops) stopped with status 1!
Al momento non so più dove sbattere la testa, ma avendo provato debian anche anni fa, questo rafforza la mia idea che al momento ubuntu è la distribuzione più produttiva che ho provato.

Stefano
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6634
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: Problemi con CUPS...

Messaggio da Roberto Pontecorvi »

Posta il risultato del comando:

Codice: Seleziona tutto

hp-doctor
in fase di controllo forse ti chiede l'autorizzazione ad installare qualche drive mancante.
stefanoxjx
Prode Principiante
Messaggi: 225
Iscrizione: giovedì 5 aprile 2007, 22:00

Re: Problemi con CUPS...

Messaggio da stefanoxjx »

Interessante questo comando, non lo conoscevo.
Mi ha effettivamente segnalato un pacco di dipendenze che mancavano.
Nonostante abbia installato tutto mi dice ancora che un paio di dipendenze mancano anche se ci sono, comunque ora stampa :)
Questo è il report dopo aver installato tutte le dipendenze segnalate come mancanti:

Codice: Seleziona tutto

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

Copyright (c) 2001-13 Hewlett-Packard 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....
error: This distro (i.e debian  8.6) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):y


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: debian-8.6 version is not supported. Using debian-7.5 versions dependencies to verify and install...

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

 Kernel: 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) GNU/Linux
 Host: Goldrake
 Proc: 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) GNU/Linux
 Distribution: debian 8.6
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  8.6 version 

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

[hplip]
version=3.14.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
html=/usr/share/doc/hplip-3.14.6
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=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:
[last_used]
device_uri = hp:/net/HP_LaserJet_P2015_Series?zc=NPI85F76D

[installation]
date_time = 30/11/2016 09:26:58
version = 3.14.6


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

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

 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.06            OK         -
 network              Network-wget              OPTIONAL        -               1.16            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.24          OK         -
 avahi-utils          avahi-utils               OPTIONAL        -               0.6.31          OK         -
 dbus                 DBus                      REQUIRED        -               1.8.20          OK         -
 cups                 CUPS                      REQUIRED        1.1             1.7.5           OK         'CUPS Scheduler is running'
 xsane                SANE-GUI                  OPTIONAL        0.9             0.998           OK         -

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

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             3.1.8           MISSING    'reportlab needs to be installed'
 libcrypto            OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           OK         -
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             4.11.2          OK         -
 libjpeg              JPEG-Lib                  REQUIRED        -               -               OK         -
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.19            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 python-devel         Python-SDK                REQUIRED        2.2             2.7.9           OK         -
 pyqt4                Python-Qt4                REQUIRED        4.0             4.11.2          OK         -
 cups-devel           CUPS-SDK                  REQUIRED        -               1.7.5           OK         -
 sane-devel           SANE-SDK                  REQUIRED        -               1.0.24          OK         -
 libusb               USB-Lib                   REQUIRED        -               1.0             OK         -
 sane                 Scan-Lib                  REQUIRED        -               1.0.24          OK         -
 cups-image           CUPS-Image-Lib            REQUIRED        -               1.7.5           OK         -
 libnetsnmp-devel     SNMP-Networking-SDK       REQUIRED        5.0.9           5.7.2           OK         -
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

------------------------------
|  Compile Time Dependencies |
------------------------------

 gcc                  gcc-Compiler              REQUIRED        -               4.9.2           OK         -
 error: libtool       Build-tools               REQUIRED        -               -               MISSING    'libtool needs to be installed'
 make                 GNU-Build-tools           REQUIRED        3.0             4.0             OK         -

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

 cupsext              CUPS-Extension            REQUIRED        -               3.14.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.14.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.14.6          OK         -

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

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

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

device `v4l:/dev/video0' is a Noname BT878 video ( *** UNKNOWN/GENER virtual device


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

No devices found.

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

 
HP_HP_LaserJet_P2015_Series
---------------------------
Type: Unknown
Device URI: dnssd://HP%20LaserJet%20P2015%20Series%20(85F76D)._pdl-datastream._tcp.local/
PPD: /etc/cups/ppd/HP_HP_LaserJet_P2015_Series.ppd
PPD Description: HP LaserJet P2015 Series Postscript (recommended)
Printer status: la stampante HP_HP_LaserJet_P2015_Series è inattiva.  è stata abilitata da mar 29 nov 2016 16:43:19 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

Missing Required Dependencies
-----------------------------
error: 'libtool' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'python-reportlab' package is missing/incompatible 
Grazie.
Ciao.
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6634
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: Problemi con CUPS...

Messaggio da Roberto Pontecorvi »

Vedi questo link -> http://hplipopensource.com/hplip-web/in ... ebian.html - devi passare alla nuova versione di hplip.
stefanoxjx
Prode Principiante
Messaggi: 225
Iscrizione: giovedì 5 aprile 2007, 22:00

Re: Problemi con CUPS...

Messaggio da stefanoxjx »

Ti ringrazio del link.
Dopo aver scritto che ora riuscivo a stampare, mi sono accorto che da firefox/iceweasel non riuscivo a stampare (filter failed).
Ieri sono tornato in questa discussione per scriverlo e mi sono accorto della tua risposta (che il sistema non mi aveva segnalato) con il link della guida da seguire.
Ho fatto tutto il processo e il risultato è stato che tutto è rimasto come prima, cioè stampavo da tutti i programmi ma non da firefox.
Mi sono ripromesso di darci un occhiata oggi, ma questa mattina appena acceso il pc, hplip mi dice che c'è una nuova versione e mi invita a rifare la procedura.
Effettivamente, ieri avevo installato la versione 3.16.6 mentre oggi mi ha fatto installare la 3.16.11.
Fatto tutta la procedura, hp-doctor non segnala alcuna anomalia, ma più della pagina di prova non riesco a stampare ora da nessun programma.
Ho sempre l'errore "filter failed".
Hai idea da cosa potrebbe dipendere?
Grazie.

Stefano
stefanoxjx
Prode Principiante
Messaggi: 225
Iscrizione: giovedì 5 aprile 2007, 22:00

Re: Problemi con CUPS...

Messaggio da stefanoxjx »

Rettifica: ora è tornato a stampare da tutti i programmi ma non da firefox/icewasel
Non capisco, fino ad un attimo prima non stampava da nessun programma.
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6634
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: Problemi con CUPS...

Messaggio da Roberto Pontecorvi »

Non capisco, fino ad un attimo prima non stampava da nessun programma
Forse andava riavviato il pc dopo l'installazione del nuovo hplip. Per quanto riguarda firefox non so dirti vedo le funzioni e poi ti riferisco.
stefanoxjx
Prode Principiante
Messaggi: 225
Iscrizione: giovedì 5 aprile 2007, 22:00

Re: Problemi con CUPS...

Messaggio da stefanoxjx »

Ragazzi, sono ancora qui con questo problema che mi sta facendo impazzire.
Il problema è che non riesco a trovare un modo per renderlo ripetibile a piacimento e quindi ho difficoltà a capire anche quando si verifica.
Allego file di log di cups, vediamo se qualcuno riesce a capirne qualcosa.

Questo invece è il risultato di hp-doctor subito dopo una stampa non riuscita:

Codice: Seleziona tutto

HP Linux Imaging and Printing System (ver. 3.16.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.16.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.16.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: 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) GNU/Linux
 Host: Goldrake
 Proc: 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) GNU/Linux
 Distribution: 2 8.6
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.16.11
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for debian distro  8.6 version 

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

[hplip]
version=3.16.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.16.11
html=/usr/share/doc/hplip-3.16.11
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no


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 = 1480622665
pending_upgrade_time = 0
latest_available_version = 3.16.11

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = hp:/net/HP_LaserJet_P2015_Series?ip=192.168.0.201
printer_name = HP_LaserJet_P2015
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 = 03/02/2017 14:51:26
version = 3.16.11


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

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

 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               4.9.2           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.0             OK         -
 libtool              libtool - Library building support services                  REQUIRED        -               2.4.2           OK         -

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

 pyqt5-dbus           PyQt 5 DBus - DBus Support for PyQt5                         REQUIRED        5.0             5.3.2           OK         -
 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.1           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.2           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.0.24          OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.19            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.9           OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               1.7.5           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.1.8           OK         -
 pyqt5                PyQt 5- Qt interface for Python (for Qt version 4.x)         REQUIRED        5.0             5.3.2           OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               1.7.5           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.9           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.24          OK         -

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

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.16.11         OK         -
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.16.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.06            OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             1.7.5           OK         'CUPS Scheduler is running'
 network              network -wget                                                OPTIONAL        -               1.16            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.24          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.998           OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.8.20          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.31          OK         -

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

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

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

device `v4l:/dev/video0' is a Noname BT878 video ( *** UNKNOWN/GENER virtual device


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

No devices found.

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

 
HP_LaserJet_P2015
-----------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_P2015_Series?ip=192.168.0.201
PPD: /etc/cups/ppd/HP_LaserJet_P2015.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_P2015.ppd ppd file
PPD Description: 
Printer status: la stampante HP_LaserJet_P2015 è inattiva.  è stata abilitata da ven 03 Filter failed6:15 CET
Communication status: Good

iP4200
------
Type: Unknown
Device URI: usb://Canon/iP4200?serial=A2A66A
PPD: /etc/cups/ppd/iP4200.ppd
warning: Failed to read /etc/cups/ppd/iP4200.ppd ppd file
PPD Description: 
Printer status: la stampante iP4200 è stata disabilitata da dom 29 gen 2017 17:15:09 CETUnplugged or turned off
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

 

Checking Permissions....


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/HP_LaserJet_P2015.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP_LaserJet_P2015.ppd
warning: Could not complete Queue(s) configuration check


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

Tra l'altro in questo periodo mi sono accorto che il problema non riguarda solo la stampante HP, ma anche la getto di inchiostro Canon.
Veramente non so più cos'altro provare, probabilmente mi sta sfuggendo qualche dettaglio che magari visto da un occhio diverso salta subito fuori.

Grazie.

Stefano
Allegati
troubleshoot.txt.zip
(7.8 KiB) Scaricato 38 volte
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6634
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: Problemi con CUPS...

Messaggio da Roberto Pontecorvi »

Checking for HP Properitery Plugin's....No plug-in printers are configured.
Pare che i "plugin" non siano installati. Vai sull'icona di hp:
- tasto destro del mouse;
- scegli "hp device maneger";
- dalla nuova finestra scegli "Install required plugin;
e segui le istruzioni.
stefanoxjx
Prode Principiante
Messaggi: 225
Iscrizione: giovedì 5 aprile 2007, 22:00

Re: Problemi con CUPS...

Messaggio da stefanoxjx »

Scusa, ma non trovo da nessuna parte "install required plugin"
Allegati
hplip.jpg
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6634
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: Problemi con CUPS...

Messaggio da Roberto Pontecorvi »

Da qui puoi scaricare i plugin -> https://www.openprinting.org/download/p ... P/plugins/ Oppure da terminale dai il comando -> hp-setup e segui le istruzioni. Stampante collegta e accesa.
stefanoxjx
Prode Principiante
Messaggi: 225
Iscrizione: giovedì 5 aprile 2007, 22:00

Re: Problemi con CUPS...

Messaggio da stefanoxjx »

Allora...
questa operazione l'avevo già fatta.
Dopo aver visto che la stampante installata via cups dava questi problemi l'ho reinstallata tramite hp-setup ma senza risultati.
Siccome però è passato del tempo da quando ho fatto questa operazione e avevo il dubbio di ricordarmi male ho comunque seguito il tuo consiglio e ho reinstallato una nuova stampante tramite hp-setup.
L'operazione però non ha risolto nessun problema, sia che io stampi su una stampante che sull'altra (quella appena installata) il problema persiste :(
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6634
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: Problemi con CUPS...

Messaggio da Roberto Pontecorvi »

Se il problema sono sempre i -> plugin e questo lo vedi dal comando -> hp-doctor (come ti avevo segnalato in precedenza) da terminale dai il comando:
  • hp-plugin
e segui le istruzioni. Fai attenzione che in un passaggio ti compare le indicazioni per accettare la licenza, in fondo a sinistra c'è un quadratino, con la scritta -> I agree to the termms..................................................... Il quadratino và flaggato e poi prosegui piggiando il tasto -> Next e prosegui con le istruzioni, come indicato da queto link -> https://www.openprinting.org/download/p ... P/plugins/
Scrivi risposta

Ritorna a “Altre distribuzioni e sistemi operativi”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 1 ospite