This would all be easier if I actually had a duplexing printer in front of me, but alas, I do not. I need to write some postscript code, transfer it to a sister location and send it to their printer, with the hopes I have the code for duplexing pages done correctly. If I had a printer in front of me, I wouldn't be beyond a brute force trial and error method, but the distance and timezones involved make a trial and error testing method not possible.
Our program will create a small postscript file of two pages. I need page one to print, then print page two on the back of page 1. (yes, destination printer has auto-duplexing capability, no manual intervention required)
Having not done this before, I'm puzzled to where I tell the printer to enable duplexing with the "<< /Duplex true >> setpagedevice" command. At the beginning of the entire 2-page document or at the beginning of page 2?
Our program will create a small postscript file of two pages. I need page one to print, then print page two on the back of page 1. (yes, destination printer has auto-duplexing capability, no manual intervention required)
Having not done this before, I'm puzzled to where I tell the printer to enable duplexing with the "<< /Duplex true >> setpagedevice" command. At the beginning of the entire 2-page document or at the beginning of page 2?