When printing with driverless, the “print-content-optimize” setting does not work
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Inspect cups/ppd-cache.c around line 145 and trace how the driverless PPD option reaches the ipp-backend. Reproduce the print-content-optimize=text case from the issue, then verify that PAPPL receives the selected value without filtering it out.
Written by the indexing model from the issue text.
Description
Describe the bug
When printing with driverless, the “print-content-optimize” setting does not work
To Reproduce
Steps to reproduce the behavior:
- Add a printer "fooA" in the legacy-printer-app
- Add a driverless for the "fooA"
- Open any document by evnice and print the doucment with the "print-content-optimize" = "text"
- PAPPL cannot receive the "print-content-optimize" value.
Expected behavior
PAPPL can receive the value of "print-content-optimize".
System Information:
- OS: [Ubuntu24.04]
- Version of CUPS, libcupsfilters, ...
CUPS: 2.4.7
libcupsfilters: 2.0.0
PAPPL: 1.4.9
Additional context
- The "print-content-optimize" option generated by driverless is as follows
*OpenUI *print-content-optimize/Print Optimization: PickOne
*OrderDependency: 10 AnySetup *print-content-optimize
*Defaultprint-content-optimize: auto
*print-content-optimize auto/Automatic: ""
*print-content-optimize graphic/Graphics: ""
*print-content-optimize photo/Photo: ""
*print-content-optimize text-and-graphic/Text and Graphics: ""
*print-content-optimize text/Text: ""
*CloseUI: *print-content-optimize
- Everywhere does not generate the "print-content-optimize" option.
- "print-content-optimize" setting is filtered out when printing via ipp-backend.https://github.com/OpenPrinting/cups/blob/c83115cc35d6ec865a405260f0c61d372804be4e/cups/ppd-cache.c#L145
- Dominant language
- C
- Stars
- 5
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/libppd
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenPrinting/libppd#86 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenPrinting/libppd#82 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenPrinting/libppd#81 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenPrinting/libppd#79 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
OpenPrinting/libppd#85 ·
All issues in OpenPrinting/libppd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
corazawaf/coraza-nginx#140 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
jamesstringer90/appsandbox#160 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100