From Nicolas Burrus Homepage

Misc: Printing Booklets on Linux

#!/bin/sh

PRINTER=Canon

if test $# -ne 1; then
    echo "Usage: $0 document.ps"
    exit 1
fi

if test ! -f "$1"; then
    echo "$1 does not exist."
    exit 1
fi

< "$1" psbook | psnup -2 | lpr -P$PRINTER
Retrieved from http://burrus.name/index.php/Misc/PrintingBookletsOnLinux
Page last modified on September 03, 2007, at 09:36 PM