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
cups-browsed, driverless: request urf-supported attribute #86
Conversation
cups-filters-issue-22-notes.txt - notes on reproducing the issue, PPD generated after applying the patch, etc. |
File
|
@tillkamppeter hello and thanks for taking the time to look at my pull request (my first public one on github). If there are any alternative approaches to fixing this you'd like me to try or you need more logs etc then I'll be happy to help. |
cups-filters 1.19.0 did mot add a "requested-attributes" attribute to the get-printer-attributes request, which, unfortunately, did not lead to all attributes being returned. Especially the "media-col-database" was not returned and so not all media sizes and types got reported. Therefore I introduced this attribute in commit 4b92fff on Jan 26, 2018, copying from CUPS' I have checked CUPS. the
with appropriately set
and no need of a By the way, the CUPS web interface ( In any case we need to report a bug to CUPS, as it is completely inconsistent, but at first we need to find the correct solution here in cups-filters. |
Please also test to still use the |
@tillkamppeter I've tried the two alternative solutions you suggested. In each case I captured the IPP request/response like this in each case:
But here's the summary of the results. Attempt 1 (Code same as in my current pull request)
Attempt 2 (ippAddString, no pattrs, "all")
Attempt 3 (pattrs = {"all", "media-col-database"})
In case you need them, here are the full packet captures and PPD output: bug22-logs.zip |
As in CUPS (see CUPS issue #5484) I use the attributes " |
Fixes bug #22 - at least for me (I have a Canon Pixma MG4250 printer).
I have not tested other Canon models, so can't be certain that this will fix it for other Pixma variants referred to in the bug report (and also can't be sure that requesting this attribute won't be a breaking change for other printers).