home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.postscript
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!decwrl!adobe!macne004.boston.us.adobe.com!user
- From: zisk@adobe.com (Stephen Zisk)
- Subject: Re: How to switch paper trays?
- Message-ID: <zisk-201192151326@macne004.boston.us.adobe.com>
- Followup-To: comp.lang.postscript
- Sender: usenet@adobe.com (USENET NEWS)
- Organization: Adobe Systems Incorporated
- References: <1992Nov19.215824.4822@cs.brown.edu>
- Date: Fri, 20 Nov 1992 20:17:16 GMT
- Lines: 36
-
- In article <1992Nov19.215824.4822@cs.brown.edu>, jgm@cs.brown.edu (Jonathan
- Monsarrat) wrote:
- > /BinT {statusdict begin 0 setpapertray end} def
- > /BinB {statusdict begin 1 setpapertray end} def
- >
- > Before each StartPage sequence, I call one of the above functions to
- > set the desired paper tray. E.g.
- >
- > BinT
- > StartPage
- >
- > 1. I suspect that different printers may number their paper trays
- > differently (i.e. 0 and 1 or 1 and 2). Is this the case and, if
- > so, what printers use what numbers? Is there a way of querying the
- > printer about its paper trays?
- >
- > 2. Is my usage of the setpapertray command correct?
-
- The answer to #1 is yes, printers can use different numbering systems.
- Without a printer supplement, you will have to experiment to find out
- what the numbers mean.
-
- On #2, yes, you are using it fine, *BUT* remember, it is subject to save
- and restore. If a page-level save is done before your call, and the restore
- occurs before the showpage (good practice for structuring), then the
- restore will undo your call to setpapertray. On a Level 2 machine, this
- would install a new page device, and your page would be erased as well.
-
- Check the structure carefully and make sure you are not shooting yourself
- in the foot.
-
- Stephen Zisk (zisk@adobe.com) Disclaimer: These are my personal views
- Adobe Systems Incorporated and do not represent the position of
- Eastern Regional Office Adobe Systems Incorporated.
- 24 New England Exec. Park
- Burlington, MA 01803 They pay me but they don't muzzle me!
-