Admin/psbooklet
author wenzelm
Fri, 04 Nov 2011 00:07:45 +0100
changeset 45331 6e0a8aba99ec
parent 36859 51af1657263b
permissions -rwxr-xr-x
more liberal Parse.fixes, to avoid overlap of mixfix with is-pattern (notably in 'obtain' syntax);

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