Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PostScript Duplex printing 1

Status
Not open for further replies.

flash3433

Programmer
Mar 16, 2004
18
Since Mac os X doesn't seem to support the downloading of postscript files to the printer printing duplex, I would like to know what kind of ps command needs to be used to tell the printer to print both sides of the page, and where in the document exactly should I put it?
 
On most interpreters, the following should work...

At the start of the page to invoke duplexing, use this command:
<</Duplex true>> setpagedevice

At the start of the page where duplexing is to be stopped, use this command:
<</Duplex false>> setpagedevice

Be aware that your existing files might already have these commands in them so that would complicate matters.

Thanks
Scott Prouty
 
Also beware that if you use some form of conversion utility, such as saving a subset of pages through acroread, that hardware-dependent features are removed. Thus, even if the original document has the /Duplex true, it could be stripped out by management utilities if the utility has to rewrite a page.

In some cases, where the printer is a true PostScript printer and not an emulation, the printer itself will have a setting of whether or not to use duplex by default (depends on the printer, see your documents; if it is a duplex Xerox printer, then it will have that option).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top