Skip to contentSkip to conversation

ProcessColorModel, when using pdf2ps

Printing-architecture James Cloos 1 participant 1 message Jan 7, 2014

lore
Share & tools
lore
#0 lore raw

It looks like the filter chains should, when using pdf2ps, specify a Process Color Model for the conversion appropriate for the printer and relevant print job options.

When printing to a monochrome printer, -sProcessColorModel=DeviceGray
When printing to a CMYK printer, -sProcessColorModel=DeviceCMYK
And if RGB PS printers exist, -sProcessColorModel=DeviceRGB

GS's default for ps2write (and pdfwrite) is DeviceRGB.

This will help ensure that tranparency doesn't interfere with colour (such as turning grayscale into full colour) and may help avoid issues with more complex jobs.

PPD values such as ColorDevice, DefaultColorSpace and ColorModel can be the basis of the choice.

Also, if pstops is to be called next, it may insert a /ProcessColorModel setpagedevice call; the pdftops filter could check for that and use the -s option if it calls pdf2ps for the conversion. (Many manufacturer ppds use that technique with private ppd entries.)

Posted here so that it can see some discussion.

-JimC
--
James Cloos <[email protected]> OpenPGP: 1024D/ED7DAEA6