Admin/psbooklet
author wenzelm
Mon, 09 Jul 2007 11:44:20 +0200
changeset 23660 18765718cf62
parent 12721 226fc0e2e7e3
child 36859 51af1657263b
permissions -rwxr-xr-x
type output = string indicates raw system output;

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