[cups.general] Should the CUPS Raster output device ofGhostscript output compressed or uncompressed Raster data?

Till Kamppeter till.kamppeter at gmail.com
Wed Jul 7 13:34:58 PDT 2010


On 07/07/2010 09:21 PM, Heino Goldenstein wrote:
> rastertoidol is only there because at least one filter
> is required for the ppd. The main function of it is the
> line: cat "FILE".
> The hole content is given in
> http://bugs.ghostscript.com/show_bug.cgi?id=689885#c1
> If the printer is setup to start up with cups-raster
> emulation at power on, you can send the printer
> cups-raster data version 1, 2 or 3 from pstoraster,
> pdftoraster, imagetoraster or cgpdftoraster
> and it will be printed.
> The IDOL emulation select commands in rastertoidol
> are only there if the printer is not preset with
> the cups-raster emulation selected.
>

If the printer understands CUPS Raster by default or can auto-detect 
CUPS Raster, you could use "-" as driver filter name, which means no filter:

*cupsFilter:    "application/vnd.cups-raster 0 -"

This makes CUPS sending CUPS Raster to the backend.

> If cups-raster emulation is selected, cups-raster
> version 2 is the preferred compression to select.

I also suggest to either add a PPD extention to select CUPS Raster v2 
output or to output CUPS Raster v2 in the case that there is no filter 
afterwards (final format is CUPS Raster). As IPP Everywhere defines CUPS 
Raster as a standard input format for printers, there will be more CUPS 
Raster printers in the future. So we will need support for compressed 
CUPS Raster.

    Till





More information about the cups mailing list