[cups-devel] [ipptool] Can I query CUPS for PPD-defined queue-specific print job attributes?

pipitas pipitas at gmail.com
Mon Nov 2 07:48:51 PST 2015


On Mon, Nov 2, 2015 at 4:42 PM, Michael Sweet <msweet at apple.com> wrote:
>
>
> > On Oct 31, 2015, at 8:23 PM, pipitas <pipitas at gmail.com> wrote:
> > ...
> > Can I ask CUPS to retrieve and report other PPD information as well, if I
> > know (and tell CUPS) the non-standard optionnames/keywords?
>
> CUPS only maps PPD options that correspond to existing IPP attributes; I
> wrote up what was supported as part of a (now abandoned) PWG specification
> on mapping PPDs to the PWG Job Ticket (XML version of IPP that is used for
> interchange).
>
> The short (but not complete) list of options/keywords that are supported
> is:
>
> - PageSize/PageRegion
> - MediaType
> - InputSlot
> - OutputBin
> - Resolution
> - ColorModel
> - Duplex
> - cupsIPPFinishings
> - cupsPrintQuality
>
> The latter two are CUPS-specific to deal with the lack of support for
> sane/common finishing and print quality options in PPDs.
>
> ....
>
> The goal of the current PPD mapping code is simply to support standard IPP
> Everywhere attributes and support print clients that do not need to know
> anything about PPDs.


Ok.


> We have no desire to support every esoteric printer driver option via
> dedicated IPP options - for that we can continue to pass PPD options over
> IPP as needed.
>

Is there a defined mechanism "to pass PPD options over IPP"?

Or is this just another way to say "embed PPD setpagedevice or PJL settings
at the appropriate spot of the PostScript/PDF/PCL jobfile before
transporting the jobfile to the printer and hope the printer will honor
these?"



More information about the cups-devel mailing list