Set color model differently for CUPS IPP on macOS
Unlike other printer settings, color does not have its own function in the Core Printing API [1]. Therefore, color needs to be set using the generic PMPrintSettingsSetValue() function. When printing using CUPS IPP, the passed key-value pair must be IPP constants. All other printer settings work fine with CUPS IPP because they are handled with their own Core Printing functions. [1] https://developer.apple.com/documentation/applicationservices/core_printing Bug: 1106437 Change-Id: I7ad153fc97f9e5797b263a6ec2ac10726deb27b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303992 Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Reviewed-by:Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#789726}
Showing
Please register or sign in to comment