-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The driverless PPD generator chooses resolutions for cupsPrintQuality settings badly #5091
Comments
Will try to address this in the next 2.2.x update... |
Due to your vacation and not knowing when you are back in relation to Ubuntu's Final Freeze for 17.10 and also due to the fact that I have a (slightly improved) copy of the PPD generator in cups-filters, I have worked on this problem and found a nicely working solution (patch attached). |
IPP Attributes of Epson WF-3620 (PPD generator uses printer-resolution-supported and not urf-supported, printer-resolution-supported not sorted: 600dpi,600x1200dpi,4800x2400dpi,1200dpi): |
This patch solves also Issue #5088 and Issue #5090. |
The reporter of |
…before choosing them for draft, normal, and best quality modes (Issue #5091) Also prefer urf-supported values over pwg-raster-document-xxx-supported values since the former is more reliable than the latter.
The PPD generator for driverless printing takes the list of supported resolutions from the IPP attributes, for example from the printer-resolution-supported attribute, and takes the first entry for Draft, the last for High and the one most in the middle for Normal. This works for most printers as the list is sorted, but some have the list not sorted, like the Epson WF 3620 (attributes attached) where Normal gets a ridiculously high resolution.
My suggestion is at least for Normal to use the default resolution, like printer-resolution-default.
In general printer-resolution-* should perhaps be used only in the case of PDF as output format and for any of the raster formats (currently PWG and Apple Raster) the appropriate attributes (pwg-raster-document-resolution-supported, urf-supported with RS...).
Also the actually lowest and highest resolution in any of the lists should be looked for.
Bug report where I have observed this:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1712019
Note that it does not matter whether the PPDs are generated by CUPS or cups-filters as most of the PPD generator I have copied over to cups-filters.
IPP attributes of the printer:
Epson-WF-3620-ipp-attrs.txt
The text was updated successfully, but these errors were encountered: