Admin/psbooklet
author wenzelm
Wed, 19 Jan 2011 21:00:16 +0100
changeset 41614 b7cd80330a16
parent 36859 51af1657263b
permissions -rwxr-xr-x
added librarypath: shared library convenience in bash, keeping LD_LIBRARY_PATH and DYLD_LIBRARY_PATH separate;

#!/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)'