Skip to content

When printing with driverless, the “print-content-optimize” setting does not work #60

@szlt5

Description

@szlt5

Describe the bug
When printing with driverless, the “print-content-optimize” setting does not work

To Reproduce
Steps to reproduce the behavior:

  1. Add a printer "fooA" in the legacy-printer-app
  2. Add a driverless for the "fooA"
  3. Open any document by evnice and print the doucment with the "print-content-optimize" = "text"
  4. 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

  1. 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
  1. Everywhere does not generate the "print-content-optimize" option.
  2. "print-content-optimize" setting is filtered out when printing via ipp-backend.https://github.com/OpenPrinting/cups/blob/c83115cc35d6ec865a405260f0c61d372804be4e/cups/ppd-cache.c#L145

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions