[cups.general] make printers belonging to a class invisible asindividual printers

Bernard Massot bmassot at free.fr
Thu Nov 27 04:59:58 PST 2008


On Fri, Nov 21, 2008 at 07:30:51AM -0800, Michael Sweet wrote:
> Bernard Massot wrote:
> > I have a class with two printers which is working fine. However I'd like
> > the two printers belonging to this class to be invisible as individual
> > printers.
> > I mean I don't want them to be listed in "lpstat -a", in graphical
> > frontends or wherever. I only want the class to be.
> You can try doing:
> 
>      lpadmin -p printer -u allow:root
> 
> for each printer.  Users will then only see the classes and still be
> able to send jobs to the printers via the class.  However, that only
> works for applications that use the standard CUPS API for getting the
> printer list - custom implementations might not send the username in
> the "get printers" request, so the printer list won't be filtered.
Thank you. Overall it works pretty fine. However it doesn't with gnome
applications. Is gnome implementation just buggy or is there some hidden
configuration to make it work ?
-- 
Bernard Massot





More information about the cups mailing list