Admin/psbooklet
author blanchet
Wed, 03 Nov 2010 23:01:30 +0100
changeset 40344 df25b51af013
parent 36859 51af1657263b
permissions -rwxr-xr-x
give E one more second, to prevent cases where it finds a proof but has no time to print it

#!/usr/bin/env bash
#
# psbooklet - rearrange pages of ps file to be printed as booklet (duplex)

psbook "$@" | \
  pstops '4:0L@.7(21cm,0cm)+1L@.7(21cm,14.85cm),3R@.7(0cm,14.85cm)+2R@.7(0cm,29.7cm)'