#!/bin/sh
echo "`basename $0`, Paul T.Threshold 2003"
PS_FILE=$1
if test "$PS_FILE" = ""; then
        PS_FILE="--help"
fi
if test "$PS_FILE" = "--help"; then
	echo "Create two postscript files (_front and _reverse) from one,"
	echo "formatting them ready to be printed as a booklet."
        echo ""
        echo "Usage: "
	echo "  `basename $0` <input postscript file>"
        echo ""
        exit 0
fi

pstops "4:-3L@.7(21cm,0)+0L@.7(21cm,14.85cm)" $PS_FILE "$PS_FILE"_front.ps 
pstops "4:1L@.7(21cm,0)+-2L@.7(21cm,14.85cm)" $PS_FILE "$PS_FILE"_reverse.ps 

