[comp.lang.postscript] PostScript "signature" program?

naegle@icon.asd.sgi.com (David Naegle) (11/07/90)

I am looking for a way to make bookbinding signatures from PostScript
code which conforms to the page comment conventions.  

A signature is an image of several pages which can be folded to make that
set of pages appear in order.  The signatures are then stitched together
to make the book.  

I would have thought this is similar enough to the "n-up" programs that it
has been done before.  The difference, of course, is that the pages are in
a strange order, and some are rotated upside-down.  To see what I mean, take
a sheet of paper and fold it in half, then in half again.  Number the pages
from one to eight in order without unfolding, then unfold and look at
the order/orientation ofthe page numbers on the unfolded sheet.  When I
do this 
I get this order: 5 (rotated upside-down), 4 (rotated upside down),
8, 1, (both right-side up) and on the back of the paper, 3 (rotated upside
down), 6 (rotated upside-down), 2, 7 (both right-side up).

I am particularly looking to make 8-page signatures as described above.
(four page images on each side of the printed sheet).

Assuming one can distinguish where the pages begin and end (hence, the need
for conformance to conventions--I know this is impossible in general without
a full-blown interpreter) this should involve simple translations and rotations
of the individual page images.  I thought I'd ask around before doing it
myself.

Has anyone done a C or PostScript program to do this?

Thanks!
--
naegle@sgi.com (David Naegle)
{sun|decwrl|pyramid|ucbvax}!sgi!naegle 
The difference between theory and practice 
is always greater in practice than in theory.
disclaimer: The opinions above are strictly my own.