Admin/psbooklet
changeset 36859 51af1657263b
parent 12721 226fc0e2e7e3
equal deleted inserted replaced
36858:8eac822dec6c 36859:51af1657263b
     1 #!/usr/bin/env bash
     1 #!/usr/bin/env bash
     2 #
     2 #
     3 # $Id$
       
     4 #
       
     5 # psbooklet - rearrange pages of ps file to be printed as booklet (duplex)
     3 # psbooklet - rearrange pages of ps file to be printed as booklet (duplex)
     6 #
       
     7 
     4 
     8 psbook "$@" | \
     5 psbook "$@" | \
     9   pstops '4:0L@.7(21cm,0cm)+1L@.7(21cm,14.85cm),3R@.7(0cm,14.85cm)+2R@.7(0cm,29.7cm)'
     6   pstops '4:0L@.7(21cm,0cm)+1L@.7(21cm,14.85cm),3R@.7(0cm,14.85cm)+2R@.7(0cm,29.7cm)'