]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: Let ghostscript() do raster PDF in gray on bw jobs
authorTill Kamppeter <till.kamppeter@gmail.com>
Tue, 12 Apr 2022 07:44:31 +0000 (09:44 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Tue, 12 Apr 2022 07:44:31 +0000 (09:44 +0200)
commit67bd17fffbfa9bb7acbbe291c7b95b93724989a9
treeeaec6e319bada52ce98a3b43d2cdbafeda01fcd9
parent0bc9ec36a3650eda2b95d1a3476d21650d6ae12d
libcupsfilters: Let ghostscript() do raster PDF in gray on bw jobs

The ghostscript() filter function did PDF Image (raster PDF) output in
color if the printer is a color printer, in gray only if the printer
is monochrome. Monochrome jobs were therefore printed in color on
color printers. This commit makes grayscale output also used if the
job is monochrome.
cupsfilters/ghostscript.c