home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / postscri / 5637 < prev    next >
Encoding:
Text File  |  1992-11-20  |  2.0 KB  |  49 lines

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