ppd-generator.c: Check for urf-supported if we found image/urf#39
Conversation
Some devices has AirPrint disabled by default/admins has disabled it, but the device reports `image/urf` in `document-format-supported`, but provides no `urf-supported` attribute, which breaks PPD generation. We should check for `urf-supported` once we found `image/urf`, so in case the device is missing `urf-supported` and provides other driverless standard, the other standard is used for PPD generation. Fixes [Fedora issue](https://bugzilla.redhat.com/show_bug.cgi?id=2263053)
|
Thanks for the PR, I have merged it now. In reality, all the 3 Raster output formats, not only Apple Raster, but also PWG Raster and PCLm have additional printer IPP attributes ( |
|
@tillkamppeter sounds great! I see |
|
Yes, I would do so, so that the formats PWG Raster and/or PCLm are only accepted if there is sufficient info to generate them correctly. For me it looks like that |
Some devices has AirPrint disabled by default/admins has disabled it, but the device reports
image/urfindocument-format-supported, but provides nourf-supportedattribute, which breaks PPD generation.We should check for
urf-supportedonce we foundimage/urf, so in case the device is missingurf-supportedand provides other driverless standard, the other standard is used for PPD generation.Fixes Fedora issue