[cups] Handling of "Installable Options" in user applications

Jacob Marble jacobmarble at google.com
Thu Oct 1 09:58:02 PDT 2015


On Tue, Sep 8, 2015 at 6:33 AM, Michael Weghorn <m.weghorn at posteo.de> wrote:

> On 2015-09-07 23:23, Michael Weghorn wrote:
>
>> Generally speaking, we recommend that applications/toolkits *not* show
>>> installable options in the print dialog, and we provide API to determine
>>> whether a given option or choice is available (ppdInstallableConflict).
>>>
>>>
>> Thank you for clarifying this. I will most probably open issues for that
>> in LibreOffice and KDE.
>>
>
> I have now created the respective reports. Links:
> https://bugs.documentfoundation.org/show_bug.cgi?id=94022
> https://bugs.kde.org/show_bug.cgi?id=352438


I have written some print dialog code that follows the InstallableOptions
guidelines. In case you're looking for a stopgap, I can say that it
wouldn't be hard to write a script to:

1) read a PPD file with properly-set InstallableOptions
2) map UIConstraints related to InstallableOptions
3) remove both the InstallableOptions group and other options that conflict
4) deploy the "stripped" PPD to user workstations

Just an idea.

Jacob



More information about the cups mailing list