[cups] lpadmin vs. /etc/cups/lpoptions

Michael Sweet msweet at apple.com
Mon Jan 25 09:40:58 PST 2016


Arney,

> On Jan 24, 2016, at 4:43 PM, Arney <dev-cups.org at arney.de> wrote:
> 
> Dear Michael,
> 
> thank you for your extensive answer. I see that
> 
> > /etc/cups/lpoptions (lpoptions as root)
> 
> also "controls" the output of `lpoptions -p Printer -l`.
> 
> Is there a cammand line way to retrieve options set by `lpadmin` even though an /etc/cups/lpoptions file is present? Maybe using `ipptool`?

Not really.  Using "ipptool -tv ipp://localhost/printers/queuename get-printer-attributes.test" will return some of the defaults from the PPD (media, print-color-mode, and printer-resolution IIRC) but you really need to look at the PPD for the full set of driver defaults.

_________________________________________________________
Michael Sweet, Senior Printing System Engineer




More information about the cups mailing list