Admin/psbooklet
author haftmann
Tue, 17 Aug 2010 14:33:39 +0200
changeset 38462 34d3de1254cd
parent 36859 51af1657263b
permissions -rwxr-xr-x
formally document `code abstype` and `code abstract` attributes

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