lpr_dup - Print a PostScript file in duplex mode
lpr_dup [-h] [-f] [-s] [-o outfile] [-P|-d printer] [-t] [file1 [file2 [..]]]
lpr_dup reads one or several PostScript files and inserts a
PostScript duplex cookie before printing or writing them to a file.
This code is an excerpt from my ps2book(1)
code; the cookie is stolen
from Akim Demaille's a2ps(1).
If no file is given, lpr_dup reads from stdin
.
Show usage overview
For each input file infile.ps, write output to infile_duplex.ps, i.e. use original file name with `_duplex' spliced in before the suffix.
Print file in simplex mode even on stupid printers that join adjacent jobs into one that is printed duplex. This is done by simply repeating each page, but shifted off limits.
Write output to file (allows for only one input file).
Send output to printer.
Tumble every other page (suitable for short-edge binding or booklets). Default is to not tumble (appropriate for long-edge binding).
Wolfgang Dobler <Wolfgang [.] Dobler [at] kis.uni-freiburg.de>
ps2book(1), a2ps(1)
Certainly many, but hopefully compensating each other.