]> git.ipfire.org Git - thirdparty/cups.git/commit
ppd-cache.c: Check for required attributes if URF or PWG Raster are found
authorzdohnal <zdohnal@redhat.com>
Thu, 15 Feb 2024 12:45:34 +0000 (13:45 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Feb 2024 12:45:34 +0000 (13:45 +0100)
commitdf8c1bf50eade2ccbdab3db6da7ee4aaf87d63a0
treea0a195270fbecffa0ecbc877aecb00abddd472fc
parentebcd806f0974b255ad459d83afd9be4315b3d9dd
parent04a0c2911217dbf66660a350d94104ef5b86011d
ppd-cache.c: Check for required attributes if URF or PWG Raster are found

Some devices have image/urf in document-format-supported, but is missing urf-supported if AirPrint support is turned off, which breaks PPD generation.

Check for attribute urf-supported when we are about to decide whether the printer uses AirPrint, so in case the device supports another driverless standard, we can use it for PPD generation.

Apply the same for PWG Raster too.

Fixes Fedora issue #2263053