]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler/ipp.c: Convert incoming ColorModel attribute 451/head
authorZdenek Dohnal <zdohnal@redhat.com>
Tue, 2 Aug 2022 08:38:21 +0000 (10:38 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Tue, 23 Aug 2022 08:39:58 +0000 (10:39 +0200)
commitc114e3c9827af77e4574ec92f46ed4688b0a3059
treecd590aeceef4edda2918087ba1ee5579f02eef49
parenta18f55663a6656ca826cbae0eb2b0d12b5ac016e
scheduler/ipp.c: Convert incoming ColorModel attribute

If a client uses PPD option ColorModel (which is converted into
attribute to be sent via IPP) for changing the default color option
(which happens via CUPS-Add-Modify-Printer operation), we have to
convert ColorModel into print-color-mode attribute, so the
print-color-mode-default attribute gets updated.

The change survives reboot because print-color-mode is saved as an
option in printer's entry in /etc/cups/printers.conf.
scheduler/ipp.c