1: #!/bin/sh 2: # Add in the magic postscript preface to perform 3: # duplex printer control for Xerox docuprint. 4: 5: # To have this script send the files directly to the printer, use 6: # a subshell to collect the output of the two 'cat' commands. 7: 8: ## ( 9: cat << EOP 10: %!PS 11: %%BeginFeature: *Duplex DuplexTumble 12: <</Duplex true /Tumble false>> setpagedevice 13: %%EndFeature 14: EOP 15: cat "$@" 16: ## ) | lpr
last modified 22/03/2012 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |