[cups.general] How to disable printers cache (/var/cache/cups/remote.cache)
Michael Sweet
msweet at apple.com
Thu Aug 13 09:09:10 PDT 2009
On Aug 13, 2009, at 5:17 AM, Thomas Stocker wrote:
> Hi List
>
>
> In short: How to diable global printer definitions (/etc/cups/
> printers.conf) and disabling printers caching (/var/cache/cups/
> remote.cache) You'll understand if I explain why.
In short, you can't. Comments inline.
> We have the following scenario, I have 2 questions about.
>
> We're bound to a CUPS version whicht doesn't have the grouping
> features yet, in facht we're bount to available OpenSolaris and
> Solaris 10 versions. Its a Sunray installation (SRSS, a thinclient
> concept) with about 1000 users and 300 printers.
>
> We have a /etc/printers.conf which counts > 2400 lines, so the
> printer list for all users is way too long.
> No we've written scripts based on the followme printing script on
> [1] that parse /etc/cups/printers.conf and put the appropriate
> printers by location into $HOME/.printers triggered by the utaction
> script. (event, if an user logs in). So far, so good.
>
> After a user is logged in, he has a proper $HOME/.printers file. But
> we need to get rid of the /var/cache/cups/remote.cache file, and the
> global /etc/cups/printers.conf file, or a way to tell the system to
> disobey the global /etc/printers.conf contents.
/etc/printers.conf and ~/.printers are used by the Solaris LP
implementation, not CUPS. CUPS *can* be configured to generate the /
etc/printers.conf file via the Printcap directive - just use
"Printcap" with no value in /etc/cups/cupsd.conf to disable it.
As for the remote.cache file, there is no way to disable it short of
disabling browsing.
___________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list