<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Il 15/01/2013 00:21, luciopineda ha
scritto:<br>
</div>
<blockquote cite="mid:50F492DC.7060103@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
</blockquote>
Ciao,<br>
mi sto documentando ma non ho ancora risolto per ora sono messo così<br>
lucio@lucio-N61PA-M2S:~$ lpstat -p<br>
printer ML-1660-Series disabled since mar 15 gen 2013 10:41:46 CET -<br>
Unplugged or turned off<br>
printer ML-1660-Series-2 disabled since mar 15 gen 2013 10:41:46 CET
-<br>
Unplugged or turned off<br>
lucio@lucio-N61PA-M2S:~$ <br>
<br>
Ho letto <a class="moz-txt-link-freetext" href="http://localhost:631/help/ref-cupsd-conf.html">http://localhost:631/help/ref-cupsd-conf.html</a> che dal file
<var>/etc/cups/cupsd.conf</var> file se ho capito bene dipende il
funzionamento del server ma non capisco come intervenire ciò che
segue è il contenuto del file<br>
<br>
#<br>
#<br>
# Sample configuration file for the CUPS scheduler. See "man
cupsd.conf" for a<br>
# complete description of this file.<br>
#<br>
<br>
# Log general information in error_log - change "warn" to "debug"<br>
# for troubleshooting...<br>
LogLevel warn<br>
<br>
# Deactivate CUPS' internal logrotating, as we provide a better one,
especially<br>
# LogLevel debug2 gets usable now<br>
MaxLogSize 0<br>
<br>
# Administrator user group...<br>
SystemGroup lpadmin<br>
<br>
<br>
# Only listen for connections from the local machine.<br>
Listen localhost:631<br>
Listen /var/run/cups/cups.sock<br>
<br>
# Show shared printers on the local network.<br>
Browsing Off<br>
BrowseOrder allow,deny<br>
BrowseAllow all<br>
BrowseLocalProtocols CUPS dnssd<br>
BrowseAddress @LOCAL<br>
<br>
# Default authentication type, when authentication is required...<br>
DefaultAuthType Basic<br>
<br>
# Web interface setting...<br>
WebInterface Yes<br>
<br>
# Restrict access to the server...<br>
<Location /><br>
Order allow,deny<br>
</Location><br>
<br>
# Restrict access to the admin pages...<br>
<Location /admin><br>
Order allow,deny<br>
</Location><br>
<br>
# Restrict access to configuration files...<br>
<Location /admin/conf><br>
AuthType Default<br>
Require user @SYSTEM<br>
Order allow,deny<br>
</Location><br>
<br>
# Set the default printer/job policies...<br>
<Policy default><br>
# Job/subscription privacy...<br>
JobPrivateAccess default<br>
JobPrivateValues default<br>
SubscriptionPrivateAccess default<br>
SubscriptionPrivateValues default<br>
<br>
# Job-related operations must be done by the owner or an
administrator...<br>
<Limit Create-Job Print-Job Print-URI Validate-Job><br>
Order deny,allow<br>
</Limit><br>
<br>
<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
Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document><br>
Require user @OWNER @SYSTEM<br>
Order deny,allow<br>
</Limit><br>
<br>
# All administration operations require an administrator to
authenticate...<br>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default
CUPS-Get-Devices><br>
AuthType Default<br>
Require user @SYSTEM<br>
Order deny,allow<br>
</Limit><br>
<br>
# All printer operations require a printer operator to
authenticate...<br>
<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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs><br>
AuthType Default<br>
Require user @SYSTEM<br>
Order deny,allow<br>
</Limit><br>
<br>
# Only the owner or an administrator can cancel or authenticate a
job...<br>
<Limit Cancel-Job CUPS-Authenticate-Job><br>
Require user @OWNER @SYSTEM<br>
Order deny,allow<br>
</Limit><br>
<br>
<Limit All><br>
Order deny,allow<br>
</Limit><br>
</Policy><br>
<br>
# Set the authenticated printer/job policies...<br>
<Policy authenticated><br>
# Job/subscription privacy...<br>
JobPrivateAccess default<br>
JobPrivateValues default<br>
SubscriptionPrivateAccess default<br>
SubscriptionPrivateValues default<br>
<br>
# Job-related operations must be done by the owner or an
administrator...<br>
<Limit Create-Job Print-Job Print-URI Validate-Job><br>
AuthType Default<br>
Order deny,allow<br>
</Limit><br>
<br>
<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
Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document><br>
AuthType Default<br>
Require user @OWNER @SYSTEM<br>
Order deny,allow<br>
</Limit><br>
<br>
# All administration operations require an administrator to
authenticate...<br>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default><br>
AuthType Default<br>
Require user @SYSTEM<br>
Order deny,allow<br>
</Limit><br>
<br>
# All printer operations require a printer operator to
authenticate...<br>
<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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs><br>
AuthType Default<br>
Require user @SYSTEM<br>
Order deny,allow<br>
</Limit><br>
<br>
# Only the owner or an administrator can cancel or authenticate a
job...<br>
<Limit Cancel-Job CUPS-Authenticate-Job><br>
AuthType Default<br>
Require user @OWNER @SYSTEM<br>
Order deny,allow<br>
</Limit><br>
<br>
<Limit All><br>
Order deny,allow<br>
</Limit><br>
</Policy><br>
<br>
#<br>
#<br>
Grazie<br>
</body>
</html>