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

Change trays ??

Change trays ??

Change trays ??

Hello all!
Does anybody know a method to solve this problem?
I have a ps file produced with Doc1 software for a Xerox printer. This file contain inside commands for variable trays selection (tray 0 and tray 1).
I need to use this file on a IBM 2105 printer but unfortunately these variable selections of trays doesn't work well. The printer takes all pages from one single tray.
How can I do for solving this problem?

Thanks in advance!

RE: Change trays ??

You need to do the following:
(1) Figure out what tray selection keys are used in your file.
(2) Get the new tray selection code from the PPD for IBM 2015.
(3) Redefine setpagedevice operator to convert old keys to new keys.

Don't forget that one rejected key in the setpagedevice dictionary invalidates the whole dictionary.

Your PostScript expert is just a click away.

RE: Change trays ??

I also have a problem similar to this with an IBM 1145. I did check the PPD file, but can't manage to find the right code to put in the file to print so it would print the first page on tray 1 and all other pages in tray 2.

Until now I've tried theses codes
Test 1 :
<< /ManualFeed false /MediaPosition null >> setpagedevice
 currentpagedevice /InputAttributes get 0 get setpagedevice
 << /InputAttributes << /Priority [0] >> >> setpagedevice
 << /Policies << /PageSize 2 >> >> setpagedevice

Test 2 :
Tray1 statusdict /setpapertray get exec setpagedevice

I've also tested with a lot of other codes that I can't find anymore but everything ended with a RIP-Error message or the pages would print all in the same tray. Any help ?

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