Update code to get PrinterResolution from CUPS/IPP print service

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 21
    • Component/s: client-libs
    • None
    • 2d

      The code to get PrinterResolution when doing CUPS/IPP printing relies on a specific PPD API (ppdFindOption)
      Perhaps this API once worked, but at least on macOS it does not today.
      However ppdFindAttr does work.
      So we should update to try that if the first fails.

      However using PPD APIs are deprecated by CUPS.

      We should instead use IPP. However the code has comments that CUPS does not support IPP for PrinterResolution.
      This also may have been true once, but is not true today.

      So update to using IPP as the preferred API. Fall back to PPD if that fails.
      The end result should be that if the API we are using today is the only one that works in some case, JDK will still find it, but if it doesn't we will be better off.

            Assignee:
            Philip Race
            Reporter:
            Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: