[Gs-devel] PDF per page / page source selection

Michael Sweet mike at easysw.com
Wed Aug 29 16:43:15 PDT 2001


Dax Kelson wrote:
> ...
> Is it possible to embed within the PS or PDF, on a per page basis,
> which *input* bin that the paper should be drawn from?

For PS output, yes; the normal attribute is the MediaPosition
page device attribute, e.g.:

    << /MediaPosition nnn >> setpagedevice

Normally you surround this by the appropriate DSC comments to get
the right command substitution on high-end equipment.

That said, this isn't terribly standard, and unfortunately I don't
think any of the Ghostscript printer drivers support it (this has
everything to do with the way a Ghostscript driver has to register
its InputAttributes dictionary, which makes supporting it harder
than necessary...)

For PDF output, the Job Ticket stuff (see the Adobe developer
site for the technote) is probably what you need, but I don't
think Ghostscript supports the attributes yet (shouldn't be too
hard to add...)

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products                  mike at easysw.com
Printing Software for UNIX                       http://www.easysw.com



More information about the gs-devel mailing list