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

Michael Sweet msweet at apple.com
Mon Nov 2 08:06:21 PST 2015


Kurt,

> On Nov 2, 2015, at 10:48 AM, pipitas <pipitas at gmail.com> wrote:
> ...
>> 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"?

Sure, in an ipptool *.test file:

    ATTR text OptionName OptionValue

In code you just add an IPP_TAG_TEXT attribute whose name is the PPD option name ("MainKeyword") and whose value is the PPD choice ("OptionKeyword").

That's how remote printing has worked in CUPS for 17 years... :)

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair




More information about the cups mailing list