mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-11 04:52:13 +00:00
storytold/pdfcraft#5806: Print in grayscale was refused ("the printer's driver did not retain the requested grayscale; nothing was sent") on drivers that list no grey option the ticket can name: Microsoft Print to PDF lists only Color, and an HP Photosmart driver has only its own ns0000:JobHPPrintInGrayScale. - Job::grey_pages: the caller has already made the pages grey. Grayscale is still asked of the driver, but a driver that has no grey option, or doesn't keep it, prints the job instead of refusing it. Off (the default), such a driver is refused as before, since the pages would come out in colour. - The ticket asks for psk:Grayscale when the driver lists that and not psk:Monochrome (grey_option); Windows dropped the Monochrome it didn't list and colour came back. - Offered::grey records whether PageOutputColor has a grey option at all.