Bonjour
J’essaie en vain de faire fonctionner un photocopieur SHARP par le reseau. Cups installé. Installation des pilotes par défaut (everywhere).Photocopieur reconnu via cups et prêt à fonctionner. J’envoie la page test via localhost:631 : Authentification requise : je mets mon identifiant et mon mot de passe (j’ai refais une installation avec root comme id et mdp c’est pareil) : l’impression ne se lance pas et la demande d’authentification revient sans cesse.
Je refais une installation cette fois-ci avec les pilotes téléchargés sur ‹ Sharp › : le comportement est différent mais le résultat identique : rien ne sort de l’imprimante. Par contre pas de demande d’authentifiaction et j’entends les rouleaux du photocopieur tourner.
$ apt list -a cups
En train de lister... Fait
cups/stable,now 2.3.3op2-3+deb11u1 amd64 [installé]
$ /usr/sbin/lpinfo --make-and-model "mx-3061" -m
driverless:ipp://Photocopieur._ipp._tcp.local/ SHARP MX-3061, driverless, cups-filters 1.28.7
everywhere IPP Everywhere
$ lpq
SHARP_MX-3061 est prêt
no entries
$ lpstat -t
scheduler is running
no system default destination
matériel pour Photocopieur : dnssd://Photocopieur._printer._tcp.local/
matériel pour Photocopieur@photocopieur.local : implicitclass://Photocopieur%40photocopieur.local/
Photocopieur accepte des requêtes depuis ven. 10 sept. 2021 16:10:00
Photocopieur@photocopieur.local accepte des requêtes depuis ven. 10 sept. 2021 16:09:53
printer Photocopieur is idle. enabled since ven. 10 sept. 2021 16:10:00
Filter failed
printer Photocopieur@photocopieur.local is idle. enabled since ven. 10 sept. 2021 16:09:53
Photocopieur-27 toto69 1024 ven. 10 sept. 2021 16:09:56
Les derniers logs error cups du fichier dans /var/log/cups
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [10/Sep/2021:16:11:45 +0200] [Client 219] Server address is "/run/cups/cups.sock".
D [10/Sep/2021:16:11:45 +0200] [Client 219] Accepted from localhost (Domain)
D [10/Sep/2021:16:11:45 +0200] [Client 219] Waiting for request.
I [10/Sep/2021:16:11:45 +0200] Expiring subscriptions...
D [10/Sep/2021:16:11:45 +0200] [Job 27] Unloading...
D [10/Sep/2021:16:11:45 +0200] Report: clients=9
D [10/Sep/2021:16:11:45 +0200] Report: jobs=1
D [10/Sep/2021:16:11:45 +0200] Report: jobs-active=1
D [10/Sep/2021:16:11:45 +0200] Report: printers=2
D [10/Sep/2021:16:11:45 +0200] Report: stringpool-string-count=38115
D [10/Sep/2021:16:11:45 +0200] Report: stringpool-alloc-bytes=14160
D [10/Sep/2021:16:11:45 +0200] Report: stringpool-total-bytes=811336
D [10/Sep/2021:16:11:45 +0200] [Client 219] POST / HTTP/1.1
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=200, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] No authentication data provided.
D [10/Sep/2021:16:11:45 +0200] [Client 219] 2.0 CUPS-Get-Default 1
D [10/Sep/2021:16:11:45 +0200] CUPS-Get-Default
D [10/Sep/2021:16:11:45 +0200] CUPS-Get-Default client-error-not-found: Aucune imprimante par défaut.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Content-Length: 124
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] con->http=0x55fbbe03fa10
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=124, response=0x55fbbe0bbfa0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [10/Sep/2021:16:11:45 +0200] [Client 219] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] bytes=0, http_state=0, data_remaining=124
D [10/Sep/2021:16:11:45 +0200] [Client 219] Flushing write buffer.
D [10/Sep/2021:16:11:45 +0200] [Client 219] New state is HTTP_STATE_WAITING
D [10/Sep/2021:16:11:45 +0200] [Client 219] Waiting for request.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] [Client 219] POST / HTTP/1.1
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=200, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] No authentication data provided.
D [10/Sep/2021:16:11:45 +0200] [Client 219] 2.0 CUPS-Get-Printers 2
D [10/Sep/2021:16:11:45 +0200] CUPS-Get-Printers
D [10/Sep/2021:16:11:45 +0200] [Client 219] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Content-Length: 2587
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] con->http=0x55fbbe03fa10
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2587, response=0x55fbbdeef020(IPP_STATE_DATA), pipe_pid=0, file=-1
D [10/Sep/2021:16:11:45 +0200] [Client 219] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] bytes=0, http_state=0, data_remaining=2587
D [10/Sep/2021:16:11:45 +0200] [Client 219] Flushing write buffer.
D [10/Sep/2021:16:11:45 +0200] [Client 219] New state is HTTP_STATE_WAITING
D [10/Sep/2021:16:11:45 +0200] [Client 219] Waiting for request.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [10/Sep/2021:16:11:45 +0200] [Client 220] Server address is "/run/cups/cups.sock".
D [10/Sep/2021:16:11:45 +0200] [Client 220] Accepted from localhost (Domain)
D [10/Sep/2021:16:11:45 +0200] [Client 220] Waiting for request.
D [10/Sep/2021:16:11:45 +0200] [Client 220] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [10/Sep/2021:16:11:45 +0200] [Client 220] Closing connection.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] [Client 219] POST / HTTP/1.1
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=200, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] No authentication data provided.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=100, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=100, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=100, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=100, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=100, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=100, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=100, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=100, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] 2.0 CUPS-Get-Classes 3
D [10/Sep/2021:16:11:45 +0200] CUPS-Get-Classes
D [10/Sep/2021:16:11:45 +0200] [Client 219] Returning IPP successful-ok for CUPS-Get-Classes (no URI) from localhost.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Content-Length: 75
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] con->http=0x55fbbe03fa10
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x55fbbe09cff0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [10/Sep/2021:16:11:45 +0200] [Client 219] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] bytes=0, http_state=0, data_remaining=75
D [10/Sep/2021:16:11:45 +0200] [Client 219] Flushing write buffer.
D [10/Sep/2021:16:11:45 +0200] [Client 219] New state is HTTP_STATE_WAITING
D [10/Sep/2021:16:11:45 +0200] [Client 219] Waiting for request.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] [Client 219] POST / HTTP/1.1
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=200, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] No authentication data provided.
D [10/Sep/2021:16:11:45 +0200] [Client 219] 2.0 CUPS-Get-Printers 4
D [10/Sep/2021:16:11:45 +0200] CUPS-Get-Printers
D [10/Sep/2021:16:11:45 +0200] [Client 219] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Content-Length: 420
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] con->http=0x55fbbe03fa10
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=420, response=0x55fbbdeef020(IPP_STATE_DATA), pipe_pid=0, file=-1
D [10/Sep/2021:16:11:45 +0200] [Client 219] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] bytes=0, http_state=0, data_remaining=420
D [10/Sep/2021:16:11:45 +0200] [Client 219] Flushing write buffer.
D [10/Sep/2021:16:11:45 +0200] [Client 219] New state is HTTP_STATE_WAITING
D [10/Sep/2021:16:11:45 +0200] [Client 219] Waiting for request.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] [Client 219] POST / HTTP/1.1
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=200, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] No authentication data provided.
D [10/Sep/2021:16:11:45 +0200] [Client 219] 2.0 CUPS-Get-Printers 5
D [10/Sep/2021:16:11:45 +0200] CUPS-Get-Printers
D [10/Sep/2021:16:11:45 +0200] [Client 219] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Content-Length: 349
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] con->http=0x55fbbe03fa10
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=349, response=0x55fbbdf17860(IPP_STATE_DATA), pipe_pid=0, file=-1
D [10/Sep/2021:16:11:45 +0200] [Client 219] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] bytes=0, http_state=0, data_remaining=349
D [10/Sep/2021:16:11:45 +0200] [Client 219] Flushing write buffer.
D [10/Sep/2021:16:11:45 +0200] [Client 219] New state is HTTP_STATE_WAITING
D [10/Sep/2021:16:11:45 +0200] [Client 219] Waiting for request.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] [Client 219] POST / HTTP/1.1
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=200, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] No authentication data provided.
D [10/Sep/2021:16:11:45 +0200] [Client 219] 2.0 CUPS-Get-Printers 6
D [10/Sep/2021:16:11:45 +0200] CUPS-Get-Printers
D [10/Sep/2021:16:11:45 +0200] [Client 219] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Content-Length: 891
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] con->http=0x55fbbe03fa10
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=891, response=0x55fbbe09cff0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [10/Sep/2021:16:11:45 +0200] [Client 219] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] bytes=0, http_state=0, data_remaining=891
D [10/Sep/2021:16:11:45 +0200] [Client 219] Flushing write buffer.
D [10/Sep/2021:16:11:45 +0200] [Client 219] New state is HTTP_STATE_WAITING
D [10/Sep/2021:16:11:45 +0200] [Client 219] Waiting for request.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] [Client 219] POST / HTTP/1.1
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [10/Sep/2021:16:11:45 +0200] [Client 219] Read: status=200, state=6
D [10/Sep/2021:16:11:45 +0200] [Client 219] No authentication data provided.
D [10/Sep/2021:16:11:45 +0200] [Client 219] 2.0 Get-Jobs 7
D [10/Sep/2021:16:11:45 +0200] Get-Jobs ipp://localhost/
D [10/Sep/2021:16:11:45 +0200] [Job 27] Loading attributes...
D [10/Sep/2021:16:11:45 +0200] [Client 219] Returning IPP successful-ok for Get-Jobs (ipp://localhost/) from localhost.
D [10/Sep/2021:16:11:45 +0200] [Client 219] Content-Length: 374
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] con->http=0x55fbbe03fa10
D [10/Sep/2021:16:11:45 +0200] [Client 219] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=374, response=0x55fbbdf0e140(IPP_STATE_DATA), pipe_pid=0, file=-1
D [10/Sep/2021:16:11:45 +0200] [Client 219] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [10/Sep/2021:16:11:45 +0200] [Client 219] bytes=0, http_state=0, data_remaining=374
D [10/Sep/2021:16:11:45 +0200] [Client 219] Flushing write buffer.
D [10/Sep/2021:16:11:45 +0200] [Client 219] New state is HTTP_STATE_WAITING
D [10/Sep/2021:16:11:45 +0200] [Client 219] Waiting for request.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [10/Sep/2021:16:11:45 +0200] [Client 219] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [10/Sep/2021:16:11:45 +0200] [Client 219] Closing connection.
D [10/Sep/2021:16:11:45 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
I [10/Sep/2021:16:11:46 +0200] Expiring subscriptions