How to hide a printer on the cups server

Antti Niemi atniemi at cc.hut.fi
Fri Feb 10 00:22:19 PST 2006


> Franz-Werner Gergen wrote:
> > Hello,
> >
> > I'm using cups 1.1.20 and wan't to hide some printers (make it not browsable in the network). Of course, I'm able to restrict the access to the localhost (using Allow/Deny directives inside a Location /printers/name section) but the printer is seen by cups clients using my cups server.
> >
> > How can I restrict browsing to the localhost for some printers?
>
> You can't in CUPS 1.1.x, but CUPS 1.2 supports it.
>
I'm using cups-1.2svn-r4885 and haven't quite figured out howto do this. There is a mention about this functionality in under the "what's new in cups-1.2" headline, but I haven't found any actual documentation.

So how can I restrict printer information being broadcasted on a per-printer basis, and based on which attributes can I do it (username, group, network segment, ip-address...)?






More information about the cups mailing list