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

  1. Newsgroups: comp.lang.postscript
  2. Path: sparky!uunet!brunix!brunix!jgm
  3. From: jgm@cs.brown.edu (Jonathan Monsarrat)
  4. Subject: How to switch paper trays?
  5. Message-ID: <1992Nov19.215824.4822@cs.brown.edu>
  6. Sender: news@cs.brown.edu
  7. Organization: Brown University Department of Computer Science
  8. Date: Thu, 19 Nov 1992 21:58:24 GMT
  9. Lines: 50
  10.  
  11.  
  12. I'm posting this for a friend. --Jon
  13.  
  14. ------------------------------------------------------------
  15. Hello netters (or should I say nutters???  :-)
  16.  
  17. I am having trouble posting to this group and so Jonathan Monsarrat has
  18. been kind enough to post this article on behalf of myself.  Please address
  19. any replies to pjc@melb.bull.oz.au, not to the poster.
  20.  
  21. I am trying to develop some postscript code that will control which of
  22. two paper trays the next page will be printed from.  Unfortunately, I
  23. do not have access to such a printer to test my code and the one
  24. person I know who does have access seems to be unavailable at the
  25. moment.
  26.  
  27. I have defined the following functions in my prolog:
  28.  
  29. /BinT {statusdict begin 0 setpapertray end} def
  30. /BinB {statusdict begin 1 setpapertray end} def
  31.  
  32. Before each StartPage sequence, I call one of the above functions to
  33. set the desired paper tray.  E.g.
  34.  
  35. BinT
  36. StartPage
  37.  
  38. My contact, as mentioned above, did get to try it once and said that
  39. it didn't seem to work before he became unavailable, so I have the
  40. following questions:
  41.  
  42. 1. I suspect that different printers may number their paper trays
  43.    differently (i.e. 0 and 1 or 1 and 2).  Is this the case and, if
  44.    so, what printers use what numbers?  Is there a way of querying the
  45.    printer about its paper trays?
  46.  
  47. 2. Is my usage of the setpapertray command correct?
  48.  
  49. I would appreciate any and all information relating to this topic - would
  50. you please email me at pjc@melb.bull.oz.au and I will arrange to have the
  51. results posted if there is any interest.
  52.  
  53. Thanks in advance!
  54.  
  55. Blueskies from down-under,
  56. Paul
  57.  
  58. | Paul Carapetis, Software Advisor (Unix, DOS, C)|   Phone: 61 3 2464944     |
  59. | Internet: pjc@melb.bull.oz.au            | There are only two experiences  |
  60. | #define STD_DISCLAIMER _my_opinion_only  | in life: successes and lessons! |
  61.