Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Duplex Printing Postscript Code

Duplex Printing Postscript Code

Duplex Printing Postscript Code

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


will work, I am not sure where exactly to place it in the postscript file. In the



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.

RE: Duplex Printing Postscript Code

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.

RE: Duplex Printing Postscript Code

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.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close