Printing programmatically in black & white?

Hi,

In Windows and Linux, it's possible to ask a printer to print content programmatically in Black & White. This may be referred to as "Monochrome", "Grayscale", "B&W", depending on the device driver.

For feature parity with other operating systems, I'd like to do the same -- programmatically -- in macOS using Objective-C or Swift. Is this possible? If not, what's the best, formal way to request this useful OS feature to Apple so that it may be added in a future release?

More context about this request:

https://github.com/openjdk/jdk/pull/18195

Printing programmatically in black & white?
 
 
Q