[cups.general] Spurious "Option media=na_letter_8.5x11in" entries in printers.conf

Michael Sweet msweet at apple.com
Tue Mar 27 09:58:44 PDT 2012


Till,

On Mar 27, 2012, at 7:24 AM, Till Kamppeter <till.kamppeter at gmail.com> wrote:
> ...
> So I have searched for ~/.cups/lpoptions and /etc/cups/lpoptions and did 
> not find anything. After that I have searched for a bug in CUPS, until I 
> found the line
> 
> Option media=na_letter_8.5x11in
> ...
> Where do these lines come from? Which program has inserted them? How can 
> I prevent such lines getting inserted?


At some point you (or some program) must have set the media-default attribute for this printer, either through lpadmin or a corresponding Set-Printer-Attributes/CUPS-Add-Modify-Printer request.  The attribute then sticks until reset or deleted (lpadmin -p printer -R media-default).

__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list