Admin/psbooklet
author wenzelm
Fri, 16 Apr 2010 21:28:09 +0200
changeset 36176 3fe7e97ccca8
parent 12721 226fc0e2e7e3
child 36859 51af1657263b
permissions -rwxr-xr-x
replaced generic 'hide' command by more conventional 'hide_class', 'hide_type', 'hide_const', 'hide_fact' -- frees some popular keywords;

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