How to restrict which printers are shared using IPP, CUPS v1.1.23

Michael Sweet mike at easysw.com
Mon Apr 3 11:41:15 PDT 2006


rickpo at monkeydo.us wrote:
> I have a centralized UNIX server that all printers are defined on.  I
> also have thin clients that act as POS (Point of Sale) terminals to
> run the application on.  On these POS thin clients, all printer show
> up befault.  The problem is that if someone accidentially sends a
> print job to a receipt printer that is all PostScript, it is not very
> pretty.  I would like to define which printers actually get shared
> over the network with other IPP clients so that the receipt printers
> do not show up.  Is this possible with CUPS version 1.1.23?  Can this
> be done using an ACL?

You can't control the advertising of specific queues in 1.1.x, but
you can add a <Location /printers/name> section to your cupsd.conf
to prevent other systems from successfully printing, e.g.:

     <Location /printers/name>
     Order allow,deny
     Allow localhost
     </Location>

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list