]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: In cupsRasterPrepareHeader() added monchrome PCLm support
authorTill Kamppeter <till.kamppeter@gmail.com>
Fri, 25 Feb 2022 22:21:50 +0000 (23:21 +0100)
committerTill Kamppeter <till.kamppeter@gmail.com>
Fri, 25 Feb 2022 22:21:50 +0000 (23:21 +0100)
commit3d28a444280f48b58992a3a5bea7e59fabc5158c
tree9c4899e741e035ad9007f51f0105222d3feb4e94
parentdf3b19756dc2c76a0b0cb2fd4ea45a397167af7f
libcupsfilters: In cupsRasterPrepareHeader() added monchrome PCLm support

PCLm supports exactly 2 color spaces, sRGB 8-bit for color and sGray
8-bit for monochrome printing. Up to now we only had supported the
sRGB space. This commit adds support for sGray.

This especially allows monchrome printing on color PCLm printers, and
faster (less data to handle) and more economic (use only black
toner/ink, not the colored ones) grayscale printing.

Principally all PCLm printers should support both color spaces.
cupsfilters/raster.c