Can you prevent some printers from being browsed?
Anonymous
anonymous at easysw.com
Tue Jan 10 16:11:54 PST 2006
Hi,
I'm running CUPS 1.22 (a standard installation on Fedora Core 3).
I'd like to set up a mixture of non-shared and shared printers
on one computer. In this case the FC print admin tool sets up
cupsd.conf so that browsing is allowed to the local network, but
the non-shared printers have access denied to non-local hosts.
While this prevents printing to the non-shared printers from other
hosts, they still appear in the browsed list of printers. Is it
possible to suppress the unavailable printer names from being browsed?
This looks like a bug to me - at least I can't easily find any
relevant documentation.
Thanks, Paul.
Excerpts from the end of cupsd.conf:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
# This printer should not be available remotely
<Location /printers/tlaser>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
# This printer should be shared
<Location /printers/xcopier>
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
More information about the cups
mailing list