]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: In PPD generator create only one *cupsFilter2: line for raster
authorTill Kamppeter <till.kamppeter@gmail.com>
Wed, 25 Jan 2023 00:44:32 +0000 (21:44 -0300)
committerTill Kamppeter <till.kamppeter@gmail.com>
Wed, 25 Jan 2023 00:44:32 +0000 (21:44 -0300)
commit05f73441b9c503305adb6ba88084b6a38a7b60cc
treef5d911463afbdef4ce06e4014e42fa40d8427f2c
parent54608f92b1a5bd0bf2dc1f03280e8bab7977342a
libcupsfilters: In PPD generator create only one *cupsFilter2: line for raster

If a printer supports more than one raster format (Apple Raster, PWG
Raster, PCLm), create only one "*cupsFilter2: ..." line for raster,
for the most desirable/reliable raster format.

Most preferred is Apple Raster, then PWG Raster, and after that PCLm

See

    https://github.com/OpenPrinting/cups-filters/issues/498

Here a printer works correctly with Apple Raster but does not print
the page in its original size with PWG Raster.
cupsfilters/ppdgenerator.c