Cancel Cups jobs from another machine

Deniz Yavuz Yam_Chu at web.de
Tue Aug 21 06:26:23 PDT 2007


Sers Cups Forum,

i have a problem with my current cups server and my two cups clients.

I configured the cups server with not many problems, both clients can connect to the server, and if they are going to the administration site, the authentification comes immediatly, well done.

Now i've got the question/problem:
Sometimes, if my printer is out of paper, or there is something to do on the hardware (don't know the word in english, sry) and there are print jobs, somebody must be cancel these jobs. I wanted that so, that the clients cancel's there jobs themselves. ok, on client B it's not the problem, but on client C came's every time a request about authentification and i don't know why.

here my cupsd.conf

LogLevel debug
SystemGroup lpadmin
# Allow remote access
Port 631
#Listen 127.0.0.1:631
#Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
DefaultAuthType Basic
<Location />
  # Allow remote administration...
  Encryption Required
  Order deny,allow
  Allow From 127.0.0.1
  Allow From 139.174.100.*---------------my server
  Allow From 139.174.101.151-------------client B
  Allow From 139.174.100.123-------------client C
</Location>
<Location /admin>
  # Allow remote administration...
  Order deny,allow
  AuthType Basic
  AuthClass System
  Deny All
  Allow From 127.0.0.1
  Allow From 139.174.100.*--------------my server
  Allow From 139.174.101.151------------client B
  Allow From 139.174.101.123------------client C
</Location>
<Location /admin/conf>
  AuthType Basic
  Encryption Required
  Require user @SYSTEM
  # Allow remote access to the configuration files...
  Order deny,allow
  Allow From 139.174.101.151------------client B
  Allow From 139.174.100.*--------------client C
</Location>
<Policy default>
  <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>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order allow,deny
    Allow From 127.0.0.1
    Allow From 139.174.100.*------------------my server
    Allow From 139.174.101.151----------------client B
    Allow From 139.174.100.123----------------client C
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
Printcap /var/run/cups/printcap


excuse me for my bad english ^^

MfG
Der Türke







More information about the cups mailing list