robin wrote:
> Many system upgrades ago, I had a neat little script called psbooklet 
> which would take a PostScript file and turn it into an A4 booklet (sort 
> of a combination of pstops and psbook).  Now I can't find it anywhere on 
> the net.  Does anyone know a download location for this script, or any 
> equivalent program (I tried psheft, but couldn't get it to compile).

What is wrong with this?

        #!/bin/sh
        TMPF1=`mktemp /tmp/psbooklet1XXXXXX`
        TMPF2=`mktemp /tmp/psbooklet2XXXXXX`
        psbook $1 $TMPF1
        psnup -2 $TMPF1 $TMPF2
        [ $? == 0 ] && { mv $TMPF2 $1 ; rm $TMPF1 }

Matej

-- 
Matej Cepl, [EMAIL PROTECTED],
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Roses are red;
    Violets are blue.
I'm schizophrenic,
    And so am I.

Reply via email to