Am Mittwoch, 11. Januar 2017, 22:40:24 CET schrieb Josef Wolf:
[...] I am trying to create a printer and set its options in one go. The man page for lpadmin states that you can set PPD options like this:
# lpadmin -p OfficeJet8600 -v socket://printhost.do.main -m hp-ojp8600p.ppd -o DefaultPageSize=A4
Does "-o PageSize=A4" work?
[...] Why that? Any ideas?
| There is no such thing as "THE" default paper size.
| [...]
| Furthermore the cupsd (which actually writes the config files when a print queue is set up)
| sets the "DefaultPageSize" value in /etc/cups/ppd/