lpoptions applied when?

Pierre Ossman drzeus-list at drzeus.cx
Fri Sep 30 10:21:50 PDT 2005


Michael Sweet wrote:
> Pierre Ossman wrote:
> 
>> Michael Sweet wrote:
>>
>>> Pierre Ossman wrote:
>>>
>>>>
>>>> But that means you cannot centralise options since they only get
>>>> applied
>>>> at the hosts, right?
>>>
>>>
>>>
>>> Not specifically; options specified at the client side override the
>>> defaults specified on the server side; the server side options are
>>> stored in the PPD and printers.conf files.
>>>
>>
>>
>> Ok. And the only tool that modifies these is the web configuration?
> 
> 
> No, lpadmin can also do it, and any application which interfaces with
> CUPS to do printer administration.
> 

Right. Forgot about that one. :)

So:

lpoptions as user: User settings. (Saved in ~/.lpoptions)
lpoptions as root: Host defaults. (Saved in /etc/cups/lpoptions)
lpadmin -h <server> as root: Printer defaults. (Saved in PPD)




More information about the cups mailing list