Hi Antonio,
Antonio Montagnani wrote:
I have posted in the past few days about cups as I am not able to
print from my satellite machines on this computer that has two
connected printers (and is acting as a router): now I have found that
my printers are not broadcasted to the network, i.e. I can't see the
to-be-shared printers in the graphic printer configuration tool as
checked queues.
This is my cupsd.conf configuration file. Where is the mistake??? and
how can I correct it
LogFilePerm 0600
MaxLogSize 2000000000
# Show general information in error_log.
LogLevel info
Printcap /etc/printcap
<Location />
# Allow shared printing and remote administration...
Order allow,deny
Allow @LOCAL
Allow From 127.0.0.1
Allow From 192.168.0.*
</Location>
<Location /admin>
AuthType Basic
AuthClass System
# Allow remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /printers/Laser>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
Maybe you should allow something other than localhost access the Laser
queue.
# Enable printer sharing and shared printers.
# Allow remote access
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
# Allow remote access to the configuration files...
Order allow,deny
Allow @LOCAL
</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 CUPS-Add-Device CUPS-Delete-Device>
AuthType Basic
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Location /printers/Samsung_1610>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
And again here.
<Location /printers/printer>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
And here.
<Location /printers/ml-1610--1>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
I'm beginning to sound like a broken record...
# Lines below are automatically generated - DO NOT EDIT
<Location /printers/Samsung>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
You get the idea.
<Location /printers/EpsonC70>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
<Location /printers/ML-1610>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
BrowseAddress 255.255.255.255
Listen *:631
Any help???