[CUPS] Imprimante Brother en réseau, seule page de test OK

Reconnaissance et configuration du matériel / kernel linux
Répondre
Avatar de l’utilisateur
joker_vb
yeomen
Messages : 239
Inscription : lun. 30 juil. 2007, 23:32

[CUPS] Imprimante Brother en réseau, seule page de test OK

Message par joker_vb »

Bonjour à tous,

J'ai un petit soucis avec mon imprimante multi-fonction Brother DCP-375-CW branchée sur un switch de mon réseau local.

1/ j'ai installé cups

2/ j'ai installé l'imprimante avec le driver fourni sur AUR

3/ j'ai ajouté l'imprimante dans cups

Cups reconnait l'imprimante par son "hostname"

Code : Tout sélectionner

lpd://BRN001BA93083B4/BINARY_P1
Et quand je lance une page de test depuis cups, l'impression fonctionne.

Par contre, depuis les logiciels cela ne fonctionne pas :
1/ essai d'impression depuis Libreoffice ou de Eye of GNOME
2/ sur cups, je retrouve bien le job
3/ au bout d'un moment le job disparait, et on retrouve dans completed jobs.

Code : Tout sélectionner

Brother_DCP-375CW-12  	archlinuxcube.png  	joker  	105k  	Unknown  	completed at Sun Jun 5 18:17:33 2011 "No pages found!" 
	 
Brother_DCP-375CW-11  	archlinuxcube.png  	joker  	105k  	Unknown  	completed at Sun Jun 5 18:12:33 2011  "No pages found!" 
	 
Brother_DCP-375CW-10  	Sans nom1  	joker  	8k  	Unknown  	completed at Sun Jun 5 18:07:32 2011 "No pages found!" 	
Avec la justification "No pages found!"

Alors que ça passe très bien pour la page de test

Code : Tout sélectionner

Brother_DCP-375CW-9  	Test Page  	root  	1k  	Unknown  	completed at Sun Jun 5 18:01:44 2011 ]
La seule différence est l'utilisateur, root pour la page de test, contre joker pour l'impression, pourtant l'user est bien dans le groupe lp:

Code : Tout sélectionner

cat /etc/group | grep lp
lp:x:7:daemon,joker
Je dois encore oublier une évidence :/

Merci d'avance pour vos conseils avisés :wink:
Dernière modification par joker_vb le lun. 06 juin 2011, 21:59, modifié 1 fois.
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [CUPS] Imprimante Brother, fonctionnement erratique

Message par widapit »

Salut !
une question sans doutes très bête mais; quels sont les droits d'accès dans le '/etc/cups/cupsd.conf' ??
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
Avatar de l’utilisateur
joker_vb
yeomen
Messages : 239
Inscription : lun. 30 juil. 2007, 23:32

Re: [CUPS] Imprimante Brother, fonctionnement erratique

Message par joker_vb »

salut,

où veux tu en venir?

Code : Tout sélectionner

-rw-r----- 1 root lp   4151 29 avril 01:59 cupsd.conf
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [CUPS] Imprimante Brother, fonctionnement erratique

Message par widapit »

non, je pensais plus dans le fichier, aux sections :

Code : Tout sélectionner

<location> 
Order ...,...
Allow from ....
...
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
Avatar de l’utilisateur
joker_vb
yeomen
Messages : 239
Inscription : lun. 30 juil. 2007, 23:32

Re: [CUPS] Imprimante Brother, fonctionnement erratique

Message par joker_vb »

Bon, dans ce cas je te donne tout le fichier :wink:

Code : Tout sélectionner

#
# "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $"
#
# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn

# Administrator user group...
SystemGroup sys root


# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $".
#
D'avance merci
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [CUPS] Imprimante Brother, fonctionnement erratique

Message par widapit »

joker_vb a écrit :

Code : Tout sélectionner

...
# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>
...
je suis pas du tout sur de moi mais je pense que dans cette partie tu peux essayer de mettre

Code : Tout sélectionner

Order allow,deny
Allow from 192.168.0.0/24   # suivant ton addressage réseau
@+
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10709
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [CUPS] Imprimante Brother, fonctionnement erratique

Message par FoolEcho »

Faut pas plutôt regarder /etc/cups/client.conf ? https://wiki.archlinux.org/index.php/CU ... nual_setup

Sinon, tu passes en mode debug ("LogLevel debug" dans cups.conf + redémarrage cups et tu regardes ce qu'il se passe dans les logs ( /var/log/cups/ ).
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
joker_vb
yeomen
Messages : 239
Inscription : lun. 30 juil. 2007, 23:32

Re: [CUPS] Imprimante Brother, fonctionnement erratique

Message par joker_vb »

@ widapit
je suis pas du tout sur de moi mais je pense que dans cette partie tu peux essayer de mettre

Code : Tout sélectionner

Order allow,deny
Allow from 192.168.0.0/24   # suivant ton addressage réseau
=>

Code : Tout sélectionner

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
    Allow from 192.168.0.0/24 
  </Limit>

Code : Tout sélectionner

/etc/cups/stop
/etc/cups/start
==> [OK]

Problème inchangé :/

@ FoolEcho
Faut pas plutôt regarder /etc/cups/client.conf
euh, j'ai peur de ne pas bien saisir... La machine sur laquelle est installé cups est considérée comme tout autre client? (ou bien tu penses que j'essaie d'imprimer depuis pc2 via cups installé sur pc1??)

Bon j'ai quand même suivi le lien que tu m'as donné, mais ça n'a rien changé :/

Et comme je n'y comprends pas grand chsoe aux logs...

Code : Tout sélectionner

cat /var/log/cups/access_log
localhost - - [05/Jun/2011:03:28:14 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:04:26:34 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:05:24:54 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:06:23:14 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:07:21:34 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:08:19:54 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:09:18:14 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:10:16:34 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:11:14:54 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:12:13:14 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:12:14:58 +0200] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
localhost - root [05/Jun/2011:12:14:58 +0200] "POST / HTTP/1.1" 200 1754 CUPS-Get-Devices -
localhost - - [05/Jun/2011:12:15:02 +0200] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
localhost - root [05/Jun/2011:12:15:02 +0200] "POST / HTTP/1.1" 200 1754 CUPS-Get-Devices -
localhost - - [05/Jun/2011:12:15:18 +0200] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
localhost - root [05/Jun/2011:12:15:18 +0200] "POST / HTTP/1.1" 200 1754 CUPS-Get-Devices -
localhost - - [05/Jun/2011:12:15:24 +0200] "POST /admin/ HTTP/1.1" 401 178 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Jun/2011:12:15:24 +0200] "POST /admin/ HTTP/1.1" 200 178 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Jun/2011:12:15:24 +0200] "POST /admin/ HTTP/1.1" 200 24268 CUPS-Add-Modify-Printer successful-ok
localhost - - [05/Jun/2011:12:47:41 +0200] "POST /admin/ HTTP/1.1" 200 66 - -
localhost - - [05/Jun/2011:12:47:41 +0200] "POST / HTTP/1.1" 401 72 CUPS-Get-Devices successful-ok
localhost - - [05/Jun/2011:12:47:41 +0200] "POST /admin/ HTTP/1.1" 200 1894 - -
localhost - - [05/Jun/2011:12:47:45 +0200] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [05/Jun/2011:12:47:45 +0200] "POST / HTTP/1.1" 401 88 CUPS-Get-Devices successful-ok
localhost - - [05/Jun/2011:12:47:45 +0200] "POST /admin/ HTTP/1.1" 401 60 - -
localhost - - [05/Jun/2011:12:47:45 +0200] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [05/Jun/2011:12:47:49 +0200] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [05/Jun/2011:12:47:49 +0200] "POST / HTTP/1.1" 401 88 CUPS-Get-Devices successful-ok
localhost - - [05/Jun/2011:12:47:49 +0200] "POST /admin/ HTTP/1.1" 401 60 - -
localhost - - [05/Jun/2011:12:47:49 +0200] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - root [05/Jun/2011:12:47:58 +0200] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [05/Jun/2011:12:47:58 +0200] "POST / HTTP/1.1" 401 88 CUPS-Get-Devices successful-ok
localhost - root [05/Jun/2011:12:47:58 +0200] "POST / HTTP/1.1" 200 1767 CUPS-Get-Devices -
localhost - root [05/Jun/2011:12:47:58 +0200] "POST /admin/ HTTP/1.1" 200 5298 - -
localhost - - [05/Jun/2011:12:48:19 +0200] "POST /admin HTTP/1.1" 200 131 - -
localhost - - [05/Jun/2011:12:48:19 +0200] "POST /admin HTTP/1.1" 200 3411 - -
localhost - - [05/Jun/2011:12:48:30 +0200] "POST /admin HTTP/1.1" 200 283 - -
localhost - - [05/Jun/2011:12:48:30 +0200] "POST / HTTP/1.1" 200 537 CUPS-Get-PPDs -
localhost - - [05/Jun/2011:12:48:30 +0200] "POST /admin HTTP/1.1" 200 3736 - -
localhost - - [05/Jun/2011:12:48:41 +0200] "POST /admin HTTP/1.1" 200 1995 - -
localhost - - [05/Jun/2011:12:48:41 +0200] "POST /admin/ HTTP/1.1" 401 335 CUPS-Add-Modify-Printer successful-ok
localhost - - [05/Jun/2011:12:48:41 +0200] "POST /admin HTTP/1.1" 401 1995 - -
localhost - - [05/Jun/2011:12:48:41 +0200] "POST /admin HTTP/1.1" 200 1995 - -
localhost - root [05/Jun/2011:12:48:41 +0200] "POST /admin HTTP/1.1" 200 1995 - -
localhost - - [05/Jun/2011:12:48:41 +0200] "POST /admin/ HTTP/1.1" 401 335 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Jun/2011:12:48:41 +0200] "POST /admin/ HTTP/1.1" 200 335 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Jun/2011:12:48:41 +0200] "POST /admin HTTP/1.1" 200 18855 - -
localhost - root [05/Jun/2011:12:49:22 +0200] "POST /admin HTTP/1.1" 200 571 - -
localhost - - [05/Jun/2011:12:49:22 +0200] "POST /admin/ HTTP/1.1" 401 24300 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Jun/2011:12:49:22 +0200] "POST /admin/ HTTP/1.1" 200 24300 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Jun/2011:12:49:22 +0200] "POST /admin HTTP/1.1" 200 2609 - -
localhost - - [05/Jun/2011:13:11:34 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:13:45:19 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 321473 Print-Job successful-ok
localhost - - [05/Jun/2011:14:05:20 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 107124 Print-Job successful-ok
localhost - - [05/Jun/2011:14:09:54 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:14:12:39 +0200] "POST / HTTP/1.1" 200 153 Cancel-Subscription successful-ok
localhost - - [05/Jun/2011:14:14:12 +0200] "POST / HTTP/1.1" 200 361 Create-Printer-Subscription successful-ok
localhost - - [05/Jun/2011:14:23:02 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 249 Create-Job successful-ok
localhost - - [05/Jun/2011:14:23:02 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 6460 Send-Document successful-ok
localhost - - [05/Jun/2011:14:23:43 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 46798 Print-Job successful-ok
localhost - - [05/Jun/2011:14:25:51 +0200] "POST /jobs HTTP/1.1" 401 136 Cancel-Job successful-ok
localhost - - [05/Jun/2011:14:25:54 +0200] "POST /jobs HTTP/1.1" 401 136 Cancel-Job successful-ok
localhost - - [05/Jun/2011:14:26:02 +0200] "POST /jobs HTTP/1.1" 200 135 Cancel-Job successful-ok
localhost - - [05/Jun/2011:14:26:12 +0200] "POST /jobs HTTP/1.1" 200 135 Cancel-Job successful-ok
localhost - - [05/Jun/2011:14:26:48 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 29229 Print-Job successful-ok
localhost - - [05/Jun/2011:14:27:10 +0200] "POST /printers/DCP375CW HTTP/1.1" 200 29610 Print-Job successful-ok
localhost - - [05/Jun/2011:14:27:19 +0200] "POST /jobs HTTP/1.1" 200 135 Cancel-Job successful-ok
localhost - - [05/Jun/2011:14:27:24 +0200] "POST /jobs HTTP/1.1" 200 135 Cancel-Job successful-ok
localhost - - [05/Jun/2011:14:28:14 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 461 Print-Job successful-ok
localhost - - [05/Jun/2011:14:28:56 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 249 Create-Job successful-ok
localhost - - [05/Jun/2011:14:28:56 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 6460 Send-Document successful-ok
localhost - - [05/Jun/2011:14:34:22 +0200] "POST / HTTP/1.1" 200 325 Create-Printer-Subscription successful-ok
localhost - - [05/Jun/2011:14:34:56 +0200] "POST / HTTP/1.1" 200 153 Cancel-Subscription successful-ok
localhost - - [05/Jun/2011:14:34:58 +0200] "POST / HTTP/1.1" 200 325 Create-Printer-Subscription successful-ok
localhost - - [05/Jun/2011:14:35:16 +0200] "POST /admin/ HTTP/1.1" 401 124 Pause-Printer successful-ok
localhost - root [05/Jun/2011:14:35:16 +0200] "POST /admin/ HTTP/1.1" 200 124 Pause-Printer successful-ok
localhost - root [05/Jun/2011:14:35:19 +0200] "POST /admin/ HTTP/1.1" 200 133 Pause-Printer successful-ok
localhost - root [05/Jun/2011:14:35:21 +0200] "POST /admin/ HTTP/1.1" 200 133 Resume-Printer successful-ok
localhost - root [05/Jun/2011:14:35:23 +0200] "POST /admin/ HTTP/1.1" 200 124 Resume-Printer successful-ok
localhost - - [05/Jun/2011:14:35:44 +0200] "POST / HTTP/1.1" 200 153 Cancel-Subscription successful-ok
localhost - - [05/Jun/2011:15:12:32 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:16:10:52 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:17:09:12 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:17:56:45 +0200] "POST /admin/ HTTP/1.1" 200 62 - -
localhost - - [05/Jun/2011:17:56:45 +0200] "POST /admin/ HTTP/1.1" 200 11077 - -
localhost - - [05/Jun/2011:17:59:45 +0200] "POST /admin/ HTTP/1.1" 200 85 - -
localhost - - [05/Jun/2011:17:59:45 +0200] "POST /admin/ HTTP/1.1" 200 2257 - -
localhost - - [05/Jun/2011:17:59:48 +0200] "POST /admin/ HTTP/1.1" 200 108 - -
localhost - - [05/Jun/2011:17:59:48 +0200] "POST /admin/ HTTP/1.1" 401 121 CUPS-Delete-Printer successful-ok
localhost - - [05/Jun/2011:17:59:48 +0200] "POST /admin/ HTTP/1.1" 401 108 - -
localhost - - [05/Jun/2011:17:59:48 +0200] "POST /admin/ HTTP/1.1" 200 108 - -
localhost - root [05/Jun/2011:17:59:48 +0200] "POST /admin/ HTTP/1.1" 200 108 - -
localhost - - [05/Jun/2011:17:59:48 +0200] "POST /admin/ HTTP/1.1" 401 121 CUPS-Delete-Printer successful-ok
localhost - root [05/Jun/2011:17:59:48 +0200] "POST /admin/ HTTP/1.1" 200 121 CUPS-Delete-Printer successful-ok
localhost - root [05/Jun/2011:17:59:48 +0200] "POST /admin/ HTTP/1.1" 200 2018 - -
localhost - root [05/Jun/2011:17:59:59 +0200] "POST /admin/ HTTP/1.1" 200 94 - -
localhost - - [05/Jun/2011:17:59:59 +0200] "POST / HTTP/1.1" 401 88 CUPS-Get-Devices successful-ok
localhost - root [05/Jun/2011:17:59:59 +0200] "POST / HTTP/1.1" 200 1767 CUPS-Get-Devices -
localhost - root [05/Jun/2011:17:59:59 +0200] "POST /admin/ HTTP/1.1" 200 5613 - -
localhost - - [05/Jun/2011:18:00:26 +0200] "POST /admin HTTP/1.1" 200 145 - -
localhost - - [05/Jun/2011:18:00:26 +0200] "POST /admin HTTP/1.1" 200 3155 - -
localhost - - [05/Jun/2011:18:00:51 +0200] "POST /admin HTTP/1.1" 200 224 - -
localhost - - [05/Jun/2011:18:00:51 +0200] "POST / HTTP/1.1" 200 542 CUPS-Get-PPDs -
localhost - - [05/Jun/2011:18:00:51 +0200] "POST /admin HTTP/1.1" 200 3645 - -
localhost - - [05/Jun/2011:18:01:04 +0200] "POST /admin HTTP/1.1" 200 1862 - -
localhost - - [05/Jun/2011:18:01:04 +0200] "POST /admin/ HTTP/1.1" 401 308 CUPS-Add-Modify-Printer successful-ok
localhost - - [05/Jun/2011:18:01:04 +0200] "POST /admin HTTP/1.1" 401 1862 - -
localhost - - [05/Jun/2011:18:01:04 +0200] "POST /admin HTTP/1.1" 200 1862 - -
localhost - root [05/Jun/2011:18:01:04 +0200] "POST /admin HTTP/1.1" 200 1862 - -
localhost - - [05/Jun/2011:18:01:04 +0200] "POST /admin/ HTTP/1.1" 401 308 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Jun/2011:18:01:04 +0200] "POST /admin/ HTTP/1.1" 200 308 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Jun/2011:18:01:04 +0200] "POST /admin HTTP/1.1" 200 3844 - -
localhost - - [05/Jun/2011:18:01:19 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 490 Print-Job successful-ok
localhost - - [05/Jun/2011:18:02:32 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 249 Create-Job successful-ok
localhost - - [05/Jun/2011:18:02:32 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 8352 Send-Document successful-ok
localhost - - [05/Jun/2011:18:03:57 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 107106 Print-Job successful-ok
localhost - - [05/Jun/2011:18:04:12 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 107124 Print-Job successful-ok
localhost - - [05/Jun/2011:18:07:32 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:19:05:52 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:20:04:12 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:21:02:32 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:21:57:58 +0200] "POST / HTTP/1.1" 200 153 Cancel-Subscription successful-ok
localhost - - [05/Jun/2011:21:59:25 +0200] "POST / HTTP/1.1" 200 361 Create-Printer-Subscription successful-ok
localhost - - [05/Jun/2011:22:57:45 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [05/Jun/2011:23:56:05 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:00:54:25 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:01:52:45 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:02:51:05 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:03:49:25 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:04:47:45 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:05:46:05 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:06:44:25 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:07:42:45 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:08:41:05 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:09:39:25 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:10:37:45 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:11:36:05 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:12:34:25 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:13:32:45 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:14:31:05 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok
localhost - - [06/Jun/2011:14:46:19 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 29119 Print-Job successful-ok
localhost - - [06/Jun/2011:14:54:34 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 45559 Print-Job successful-ok
localhost - - [06/Jun/2011:14:56:15 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 49692 Print-Job successful-ok
localhost - - [06/Jun/2011:14:58:41 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 249 Create-Job successful-ok
localhost - - [06/Jun/2011:14:58:41 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 6325 Send-Document successful-ok
localhost - - [06/Jun/2011:15:10:27 +0200] "POST /printers/Brother_DCP-375CW HTTP/1.1" 200 144685 Print-Job successful-ok
localhost - - [06/Jun/2011:15:29:25 +0200] "POST / HTTP/1.1" 200 184 Renew-Subscription successful-ok

Code : Tout sélectionner

cat /var/log/cups/error_log
D [06/Jun/2011:15:19:53 +0200] Returning IPP successful-ok for Get-Job-Attributes (ipp://localhost/jobs/17) from localhost
D [06/Jun/2011:15:19:53 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:19:53 +0200] cupsdReadClient: 17 POST / HTTP/1.1
D [06/Jun/2011:15:19:53 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:19:53 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:19:53 +0200] cupsdReadClient: 17 1.1 CUPS-Get-Printers 1
D [06/Jun/2011:15:19:53 +0200] CUPS-Get-Printers
D [06/Jun/2011:15:19:53 +0200] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [06/Jun/2011:15:19:53 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:19:53 +0200] cupsdReadClient: 17 POST / HTTP/1.1
D [06/Jun/2011:15:19:53 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:19:53 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:19:53 +0200] cupsdReadClient: 17 1.1 CUPS-Get-Default 1
D [06/Jun/2011:15:19:53 +0200] CUPS-Get-Default
D [06/Jun/2011:15:19:53 +0200] CUPS-Get-Default client-error-not-found: No default printer
D [06/Jun/2011:15:19:53 +0200] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost
D [06/Jun/2011:15:19:53 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:19:54 +0200] Closing client 24 after 300 seconds of inactivity...
D [06/Jun/2011:15:19:54 +0200] cupsdCloseClient: 24
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 21 GET /printers/Brother_DCP-375CW HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] [CGI] argv[0] = "/usr/lib/cups/cgi-bin/printers.cgi"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/doc"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[10] = "SERVER_ADMIN=root@hylochere"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[11] = "SOFTWARE=CUPS/1.4.6"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[13] = "USER=root"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[14] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[15] = "CUPS_ENCRYPTION=IfRequested"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[16] = "IPP_PORT=631"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[17] = "LANG=fr.UTF8"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[18] = "REDIRECT_STATUS=1"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[19] = "GATEWAY_INTERFACE=CGI/1.1"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[20] = "SERVER_NAME=localhost"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[21] = "SERVER_PORT=631"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[22] = "REMOTE_ADDR=::1"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[23] = "REMOTE_HOST=localhost"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[24] = "SCRIPT_NAME=/printers/Brother_DCP-375CW"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[25] = "SCRIPT_FILENAME=/usr/share/cups/doc/printers/Brother_DCP-375CW"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[26] = "PATH_INFO=/Brother_DCP-375CW"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[27] = "SERVER_PROTOCOL=HTTP/1.1"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[28] = "HTTP_COOKIE=org.cups.sid=fd4e60a335251e73ac13991da7404421"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[29] = "HTTP_USER_AGENT=Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20110429 Firefox/4.0.1"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[30] = "REQUEST_METHOD=GET"
D [06/Jun/2011:15:20:00 +0200] [CGI] envp[31] = "QUERY_STRING="
D [06/Jun/2011:15:20:00 +0200] [CGI] Started /usr/lib/cups/cgi-bin/printers.cgi (PID 7238)
I [06/Jun/2011:15:20:00 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7238)
D [06/Jun/2011:15:20:00 +0200] cupsdSendCommand: 21 file=20
D [06/Jun/2011:15:20:00 +0200] Report: clients=5
D [06/Jun/2011:15:20:00 +0200] Report: jobs=16
D [06/Jun/2011:15:20:00 +0200] Report: jobs-active=0
D [06/Jun/2011:15:20:00 +0200] Report: printers=1
D [06/Jun/2011:15:20:00 +0200] Report: printers-implicit=0
D [06/Jun/2011:15:20:00 +0200] Report: stringpool-string-count=1279
D [06/Jun/2011:15:20:00 +0200] Report: stringpool-alloc-bytes=10584
D [06/Jun/2011:15:20:00 +0200] Report: stringpool-total-bytes=28280
D [06/Jun/2011:15:20:00 +0200] [CGI] org.cups.sid cookie is "fd4e60a335251e73ac13991da7404421"
D [06/Jun/2011:15:20:00 +0200] cupsdAcceptClient: 23 from localhost (Domain)
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 23 POST / HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 23 1.1 CUPS-Get-Default 1
D [06/Jun/2011:15:20:00 +0200] CUPS-Get-Default
D [06/Jun/2011:15:20:00 +0200] CUPS-Get-Default client-error-not-found: No default printer
D [06/Jun/2011:15:20:00 +0200] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost
D [06/Jun/2011:15:20:00 +0200] [CGI] show_printer(http=0x7f93a883bac0, printer="Brother_DCP-375CW")
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 23 POST / HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 23 1.1 Get-Printer-Attributes 1
D [06/Jun/2011:15:20:00 +0200] Get-Printer-Attributes ipp://localhost/printers/Brother_DCP-375CW
D [06/Jun/2011:15:20:00 +0200] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/Brother_DCP-375CW) from localhost
D [06/Jun/2011:15:20:00 +0200] Script header: Content-Type: text/html;charset=utf-8
D [06/Jun/2011:15:20:00 +0200] Script header: 
D [06/Jun/2011:15:20:00 +0200] [CGI] Regular expression ".*Clean.*"
D [06/Jun/2011:15:20:00 +0200] [CGI] matches[0].rm_so=0
D [06/Jun/2011:15:20:00 +0200] [CGI] matches[1].rm_so=-1
D [06/Jun/2011:15:20:00 +0200] [CGI] Regular expression ".*PrintSelfTestPage.*"
D [06/Jun/2011:15:20:00 +0200] [CGI] matches[0].rm_so=0
D [06/Jun/2011:15:20:00 +0200] [CGI] matches[1].rm_so=-1
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 23 POST / HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 23 1.1 Get-Jobs 1
D [06/Jun/2011:15:20:00 +0200] Get-Jobs ipp://localhost:631/printers/Brother_DCP-375CW
D [06/Jun/2011:15:20:00 +0200] Returning IPP successful-ok for Get-Jobs (ipp://localhost:631/printers/Brother_DCP-375CW) from localhost
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 23 WAITING Closing on EOF
D [06/Jun/2011:15:20:00 +0200] cupsdCloseClient: 23
D [06/Jun/2011:15:20:00 +0200] PID 7238 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 18 GET /cups.css HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 19 GET /images/left.gif HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 21 GET /images/right.gif HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 18 GET /images/unsel.gif HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdReadClient: 19 GET /images/sel.gif HTTP/1.1
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:20:00 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:20:00 +0200] cupsdSetBusyState: Dirty files
I [06/Jun/2011:15:20:24 +0200] Saving printers.conf...
I [06/Jun/2011:15:20:24 +0200] Saving job cache file "/var/cache/cups/job.cache"...
I [06/Jun/2011:15:20:24 +0200] Saving subscriptions.conf...
D [06/Jun/2011:15:20:24 +0200] cupsdSetBusyState: Not busy
D [06/Jun/2011:15:20:30 +0200] cupsdReadClient: 21 WAITING Closing on EOF
D [06/Jun/2011:15:20:30 +0200] cupsdCloseClient: 21
D [06/Jun/2011:15:20:30 +0200] cupsdReadClient: 19 WAITING Closing on EOF
D [06/Jun/2011:15:20:30 +0200] cupsdCloseClient: 19
D [06/Jun/2011:15:20:30 +0200] cupsdReadClient: 18 WAITING Closing on EOF
D [06/Jun/2011:15:20:30 +0200] cupsdCloseClient: 18
D [06/Jun/2011:15:24:54 +0200] [Job 17] Unloading...
D [06/Jun/2011:15:24:54 +0200] Closing client 17 after 300 seconds of inactivity...
D [06/Jun/2011:15:24:54 +0200] cupsdCloseClient: 17
D [06/Jun/2011:15:24:54 +0200] Closing client 15 after 300 seconds of inactivity...
D [06/Jun/2011:15:24:54 +0200] cupsdCloseClient: 15
D [06/Jun/2011:15:24:54 +0200] Report: clients=0
D [06/Jun/2011:15:24:54 +0200] Report: jobs=16
D [06/Jun/2011:15:24:54 +0200] Report: jobs-active=0
D [06/Jun/2011:15:24:54 +0200] Report: printers=1
D [06/Jun/2011:15:24:54 +0200] Report: printers-implicit=0
D [06/Jun/2011:15:24:54 +0200] Report: stringpool-string-count=1207
D [06/Jun/2011:15:24:54 +0200] Report: stringpool-alloc-bytes=9160
D [06/Jun/2011:15:24:54 +0200] Report: stringpool-total-bytes=27008
D [06/Jun/2011:15:29:25 +0200] cupsdAcceptClient: 15 from localhost (Domain)
D [06/Jun/2011:15:29:25 +0200] Report: clients=1
D [06/Jun/2011:15:29:25 +0200] Report: jobs=16
D [06/Jun/2011:15:29:25 +0200] Report: jobs-active=0
D [06/Jun/2011:15:29:25 +0200] Report: printers=1
D [06/Jun/2011:15:29:25 +0200] Report: printers-implicit=0
D [06/Jun/2011:15:29:25 +0200] Report: stringpool-string-count=1207
D [06/Jun/2011:15:29:25 +0200] Report: stringpool-alloc-bytes=9160
D [06/Jun/2011:15:29:25 +0200] Report: stringpool-total-bytes=27008
D [06/Jun/2011:15:29:25 +0200] cupsdReadClient: 15 POST / HTTP/1.1
D [06/Jun/2011:15:29:25 +0200] cupsdSetBusyState: Active clients
D [06/Jun/2011:15:29:25 +0200] cupsdAuthorize: No authentication data provided.
D [06/Jun/2011:15:29:25 +0200] cupsdReadClient: 15 1.1 Renew-Subscription 1
D [06/Jun/2011:15:29:25 +0200] Renew-Subscription /
D [06/Jun/2011:15:29:25 +0200] cupsdIsAuthorized: requesting-user-name="joker"
D [06/Jun/2011:15:29:25 +0200] cupsdMarkDirty(-----S)
D [06/Jun/2011:15:29:25 +0200] cupsdSetBusyState: Active clients and dirty files
D [06/Jun/2011:15:29:25 +0200] Returning IPP successful-ok for Renew-Subscription (/) from localhost
D [06/Jun/2011:15:29:25 +0200] cupsdSetBusyState: Dirty files
D [06/Jun/2011:15:29:25 +0200] cupsdReadClient: 15 WAITING Closing on EOF
D [06/Jun/2011:15:29:25 +0200] cupsdCloseClient: 15
I [06/Jun/2011:15:29:56 +0200] Saving subscriptions.conf...
D [06/Jun/2011:15:29:56 +0200] cupsdSetBusyState: Not busy
Merci de votre aide :wink:
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [CUPS] Imprimante Brother, fonctionnement erratique

Message par widapit »

bon, tant pis.... mais
...ou bien tu penses que j'essaie d'imprimer depuis pc2 via cups installé sur pc1??)
oui.... moi aussi.... :mrgreen:

Par contre je viens de revoir ça:
joker_vb a écrit :

Code : Tout sélectionner

lpd://BRN001BA93083B4/BINARY_P1
du coup je sais pas trop comment ça se passe pour toi vu que (si je me trompe pas) tu as une imprimante réseau.... mais chez moi, le protocole utilisé dans '/etc/cups/client.conf' c'est ipp://addresse_ip/ . (je sais plu ou j'avais lu qu'il valait mieux utiliser l'addresse ip avec cups même si l'hostname est reconnu....)
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
Avatar de l’utilisateur
joker_vb
yeomen
Messages : 239
Inscription : lun. 30 juil. 2007, 23:32

Re: [CUPS] Imprimante Brother en réseau, seule page de test

Message par joker_vb »

mais chez moi, le protocole utilisé dans '/etc/cups/client.conf' c'est ipp://addresse_ip/ .
Peux-tu me montrer la syntaxe stp?

J'ai beau avoir essayé ça ne fonctionne pas mieux.

Puisque la page de test s'imprime depuis l'interface web de cups à laquelle je suis connecté en root, je me dis qu'il doit y avoir une histoire de droits, mais je ne aprviens pas à trouver. Je suis un peu perdu en fait...
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10709
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [CUPS] Imprimante Brother en réseau, seule page de test

Message par FoolEcho »

joker_vb a écrit :euh, j'ai peur de ne pas bien saisir... La machine sur laquelle est installé cups est considérée comme tout autre client? (ou bien tu penses que j'essaie d'imprimer depuis pc2 via cups installé sur pc1??)
Si tu imprimes depuis cette machine, oui, elle est serveur et cliente (après aucune idée, s'il faut transiter ou pas par le réseau).

Ce n'est pas la solution, mais si tu rajoutes temporairement ton utilisateur au groupe sys, ça imprime correctement ?
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [CUPS] Imprimante Brother en réseau, seule page de test

Message par widapit »

oui, tu peux imprimer des pages de tests depuis l'interface de CUPS, sans conf côté client.....pour la syntaxe, je pense qu'en local ça devrait ressembler à ça (dans '/etc/cups/client.conf') :

Code : Tout sélectionner

ipp://127.0.0.1/printers/nom_de_ton_imprimante
"nom_de_ton_imprimante" étant son nom tel qu'il est déclaré dans cups....
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
Avatar de l’utilisateur
joker_vb
yeomen
Messages : 239
Inscription : lun. 30 juil. 2007, 23:32

Re: [CUPS] Imprimante Brother en réseau, seule page de test

Message par joker_vb »

@FoolEcho => ajout de l'user dans le groupe sys => RIEN :/

@widapit => pas mieux, ou alors je le fais mal...

Face à tout ça j'ai tout désinstallé

Code : Tout sélectionner

pacman -Rs dcp375cw
pacman -Rs cups
Puis réinstallé et cups et dcp375cw (depuis aur), rien n'y change.

Sinon j'ai créé une classe dans laquelle j'ai placé mon imprimante, mais ça n'a rien changé.

:/
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [CUPS] Imprimante Brother en réseau, seule page de test

Message par widapit »

joker_vb a écrit :Face à tout ça j'ai tout désinstallé
...
Puis réinstallé et cups et dcp375cw (depuis aur), rien n'y change.
.... :bravo: ça,ça va plaire à FoolEcho !!!!!! :copain: :lol:

essaie en précisant le port

Code : Tout sélectionner

ipp://127.0.0.1:631/printers/nom_de_l_imprimante
toujours dans /etc/cups/client.conf et depuis libroffice (par exemple) dans la panneau d'impression ou depuis la boite de dialogue de conf d'imprimante de ton environnement de bureau... rien ne t'es proposé ??!
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10709
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [CUPS] Imprimante Brother en réseau, seule page de test

Message par FoolEcho »

widapit a écrit :
joker_vb a écrit :Face à tout ça j'ai tout désinstallé
...
Puis réinstallé et cups et dcp375cw (depuis aur), rien n'y change.
.... :bravo: ça,ça va plaire à FoolEcho !!!!!! :copain: :lol:
Hé, tant que ça ne concerne pas la réinstallation du système complet, ça ne me dérange pas plus que ça. :copain:
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
joker_vb
yeomen
Messages : 239
Inscription : lun. 30 juil. 2007, 23:32

Re: [CUPS] Imprimante Brother en réseau, seule page de test

Message par joker_vb »

Disons que je ne savais plus ce que j'avais changé dans les fichiers de base car j'avais oublié d'en faire une sauvegarde au préalable (pas bien!), du coup dé- puis ré-installer m'a permis de les récupérer vierges ;)

bon ça ne m'avance pas plus que ça, et le pire c'est que c'est forcément un truc simple mais tellement gros que je passe à côté, car ce n'est vraiment pas logique que je parvienne à imprimer sous certaines conditions...
Répondre