Admin/psbooklet
author wenzelm
Sat, 06 Mar 2010 17:32:45 +0100
changeset 35615 61bb9f8af129
parent 12721 226fc0e2e7e3
child 36859 51af1657263b
permissions -rwxr-xr-x
record_type_tr': more robust strip_fields (printed types are not necessarily well-formed, e.g. in Syntax.pretty_arity);

#!/usr/bin/env bash
#
# $Id$
#
# 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)'