Admin/psbooklet
author haftmann
Mon Jul 11 18:44:58 2011 +0200 (2011-07-11)
changeset 43764 366d5726de09
parent 36859 51af1657263b
permissions -rwxr-xr-x
explicit code equation for equality
wenzelm@12721
     1
#!/usr/bin/env bash
wenzelm@3463
     2
#
wenzelm@3463
     3
# psbooklet - rearrange pages of ps file to be printed as booklet (duplex)
wenzelm@3462
     4
wenzelm@3462
     5
psbook "$@" | \
wenzelm@3462
     6
  pstops '4:0L@.7(21cm,0cm)+1L@.7(21cm,14.85cm),3R@.7(0cm,14.85cm)+2R@.7(0cm,29.7cm)'