#1 Le 09/05/2025, à 15:12
- benoit35000
[CUPS] Ubuntu - page banière qui sort automatiquement
Bonjour,
J'ai installé CUPS à l'entreprise pour faire office de serveur d'impression.
Cela fonctionne très bien, malheureusement celui-ci me sort automatiquement et pour toutes les imprimantes une page de garde ou bannière à chaque impression lancée en plus de l'impression classique. Comment puis-je désactiver cela ?
J'ai pourtant tout désactivé dans la configuration page bannière.
Hors ligne
#2 Le 09/05/2025, à 15:28
- xubu1957
Re : [CUPS] Ubuntu - page banière qui sort automatiquement
Bonjour,
Montre, en te servant du Retour utilisable de commande :
lpr /usr/share/cups/data/testprint
pompé dans > cups always printing banners / cover pages
cat /var/log/cups/error_log
et d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Le 12/05/2025, à 15:08
- benoit35000
Re : [CUPS] Ubuntu - page banière qui sort automatiquement
Bonjour,
Merci pour la réponse.
lpr /usr/share/cups/data/testprint
imprime qu'une seule page.
cat /var/log/cups/error_log
D [12/May/2025:14:41:15 +0200] [Client 881] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/May/2025:14:41:15 +0200] [Client 881] bytes=0, http_state=0, data_remaining=794
D [12/May/2025:14:41:15 +0200] [Client 881] Flushing write buffer.
D [12/May/2025:14:41:15 +0200] [Client 881] New state is HTTP_STATE_WAITING
D [12/May/2025:14:41:15 +0200] [Client 881] Waiting for request.
D [12/May/2025:14:41:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/May/2025:14:41:15 +0200] [Client 881] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [12/May/2025:14:41:15 +0200] [Client 881] Closing connection.
D [12/May/2025:14:41:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [12/May/2025:14:41:15 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/May/2025:14:41:15 +0200] [Client 882] Server address is "/run/cups/cups.sock".
D [12/May/2025:14:41:15 +0200] [Client 882] Accepted from localhost (Domain)
D [12/May/2025:14:41:15 +0200] [Client 882] Waiting for request.
D [12/May/2025:14:41:15 +0200] [Client 882] POST / HTTP/1.1
D [12/May/2025:14:41:15 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [12/May/2025:14:41:15 +0200] [Client 882] Read: status=200, state=6
D [12/May/2025:14:41:15 +0200] [Client 882] No authentication data provided.
D [12/May/2025:14:41:15 +0200] [Client 882] 2.0 CUPS-Get-Printers 1
D [12/May/2025:14:41:15 +0200] CUPS-Get-Printers
D [12/May/2025:14:41:15 +0200] [Client 882] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost.
D [12/May/2025:14:41:15 +0200] [Client 882] Content-Length: 794
D [12/May/2025:14:41:15 +0200] [Client 882] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [12/May/2025:14:41:15 +0200] [Client 882] con->http=0x558a399af410
D [12/May/2025:14:41:15 +0200] [Client 882] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=794, response=0x558a39970350(IPP_STATE_DATA), pipe_pid=0, file=-1
D [12/May/2025:14:41:15 +0200] [Client 882] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [12/May/2025:14:41:15 +0200] [Client 882] bytes=0, http_state=0, data_remaining=794
D [12/May/2025:14:41:15 +0200] [Client 882] Flushing write buffer.
D [12/May/2025:14:41:15 +0200] [Client 882] New state is HTTP_STATE_WAITING
D [12/May/2025:14:41:15 +0200] [Client 882] Waiting for request.
D [12/May/2025:14:41:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/May/2025:14:41:15 +0200] [Client 882] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [12/May/2025:14:41:15 +0200] [Client 882] Closing connection.
D [12/May/2025:14:41:15 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
En fait, après avoir fait quelques tests, j'ai comme l'impression que cela ne vient pas de CUPS car lui à priori n'imprime bien qu'une seule page dans le cas d'un test. Mais lorsque l'on passe par notre application interne, une page bannière sort, donc ça serait plutôt soit côté JVM soit JasperReports
Dernière modification par benoit35000 (Le 12/05/2025, à 15:08)
Hors ligne
#4 Le 12/05/2025, à 15:25
- xubu1957
Re : [CUPS] Ubuntu - page banière qui sort automatiquement
Bonjour,
Montre aussi d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
et :
ls -l /var/crash
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#5 Le 13/05/2025, à 16:07
- benoit35000
Re : [CUPS] Ubuntu - page banière qui sort automatiquement
dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================-=======================================-============-================================================================================
rc systemd-timesyncd 249.11-0ubuntu3.11 amd64 minimalistic service to synchronize local time with NTP servers
Là, j'ai l'impression que c'est juste le ntpd
ls -l /var/crash
total 0
Hors ligne