Re: [cups-devel] Hack for PDF/driverless printing with Lexmark printers

Stephan <stephanwib-gM/[email protected]> Tue, 7 Feb 2017 15:54:43 +0100
Newsgroups gmane.comp.printing.cups.devel
Message-ID <CABZpUSVqQ6sBv46+R2uwtoQ1+f+2H1=S4V3Y5xbgE4EDBKrHRg@mail.gmail.com>
>
> This case is a bit different, as the job attributes are not completely
> discarded, but *only* the media-col collection. Other options like
> output-mode, print-quality and sides *are* sent (as seen in the debug
> output).


I have found the cause. The ipp backend needs to receive a PageSize
option, so it needs to be defined in lpoptions or when a job is
submitted. If there is no such option, the media-col collection is not
sent at all, potentially discarding other defined options that are
usually sent along with it ;)