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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplex Printing Postscript Code 2

Status
Not open for further replies.

flash3433

Programmer
Mar 16, 2004
18
I asked this question a year ago, and still have not made it work.

I have multiple page postscript files to print. Some I want duplex, some not, some bound portrait, and some landscape. Rather than make manual changes on the printer (HP 4000dn) for each change, I would like to use postscript commands within the files to direct the printer accordingly for each file.

Though I have been told
Code:
<<setpagedevice>>
will work, I am not sure where exactly to place it in the postscript file. In the
Code:
 /pagesetupproc{
definition?

When it does produce a duplex page, one side is rotated differently from the other side.

Can someone help me resolve this question? Thank you.
 
You better do not put setpagedevice in pagesetupproc body. Put it right after the line that looks like %%Page: number number, the number being the relevant page boundary where you want to change to duplex or back to simplex

<< /Duplex true >> setpagedevice - switches to duplex
<< /Duplex false >> setpagedevice - switches to simplex
<< /Tumble true >> setpagedevice - rotates the image on the back page 180 degrees.
 
How can I change the weight of the font within a postscript document? I don't mean choosing a different size font, but keeping the same size (i.e., 12 point) but making the strokes of the letters thinner or thicker.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top