]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler/printers.c: Check for CMYK as well (fixes #421) 500/head
authorZdenek Dohnal <zdohnal@redhat.com>
Tue, 18 Oct 2022 12:12:13 +0000 (14:12 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Tue, 18 Oct 2022 12:12:13 +0000 (14:12 +0200)
commitca866d8a9de27e05f7fc04ad6a2a586089341c53
tree7d0443e3e347e4f8d73a9a684d496f0083e11723
parentdc8a269ac45c01e6c64aaf6bf6cfa7bfcdbaf445
scheduler/printers.c: Check for CMYK as well (fixes #421)

In `load_ppd()` we would set the `print-color-mode` to `monochrome` only if
the device supported color printing and the default PPD choice for
ColorModel was RGB - this broke settings for color printing for models,
which use `CMYK` for ColorModel.

With this patch we check for CMYK as well.

CUPS 3.0-
scheduler/printers.c