NumCopies and collate support for cups raster

Michael Sweet mike at easysw.com
Tue Jun 20 13:09:02 PDT 2006


liu.george at yahoo.com wrote:
> ...
> It clearly says that pstops driver handles collate=True option.
> Should pstops filter also modify argv[4] (copies) in the commandline
> to 1 (in the case of collated copy)?

It can't - the filters run in their own address spaces, separate
from each other.

> It creates great confusions for filters down stream. How can
> rastertoxxx filter, foomatic-rip, or what ever the next filter is
> decide what @PJL SET COPIES to put?

A CUPS raster driver looks at the NumCopies attribute in the page
header and ignores the copies argument on the command-line.

A foomatic-rip filter doesn't use CUPS raster, and instead needs to
rely on Ghostscript or IJS to provide the number of copies to print.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list