Controling bit-depth of gs output

Michael Sweet mike at easysw.com
Tue Apr 1 09:28:12 PDT 2008


Tomasz Koprowski wrote:
> Thank you for your answer.
> 
>> I suspect that gs 8.61 does not pass the cupsBitsPerColor to the
>> "cups" driver.  File a bug with the Ghostscript folks.
> 
> This could explain why it fails with GPL GS for the user. But my additional question is: is there any way to launch (a known working) ESP GS "by hand" so that it generates 24-bpp instead of 1-bpp.
> 
> I tried the following:
> -----------------------------8<---------------------------------------
> export PPD=/etc/cups/ppd/Samsung_SPP-2020_USB_1.ppd
> export LOGLEVEL=2
> gs  -dQUIET -dNOPAUSE -dBATCH -sDEVICE=cups -sOUTPUTFILE=tiger.cprs /usr/share/ghostscript/8.15/examples/tiger.eps
> -----------------------------8<---------------------------------------

Look at the pstoraster script included with ESP GS - you need to
pass the -dNOMEDIAATTRS option to disable Ghostscript's broken
setpagedevice handling.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups-devel mailing list