home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / softsys / andrew / 1438 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  1.4 KB

  1. Path: sparky!uunet!think.com!ames!agate!ucbvax!ANDREW.CMU.EDU!gk5g+
  2. From: gk5g+@ANDREW.CMU.EDU (Gary Keim)
  3. Newsgroups: comp.soft-sys.andrew
  4. Subject: Re: Print from "help" on PS printer?
  5. Message-ID: <of_FL2e00Woh19EwVA@andrew.cmu.edu>
  6. Date: 11 Dec 92 22:27:14 GMT
  7. References: <9212112141.AA28085@carbon.chem.utah.edu>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 30
  12.  
  13. Excerpts from misc: 11-Dec-92 Print from "help" on PS pri..
  14. dunkel@carbon.chem.utah. (1168)
  15.  
  16. > ezprint -t $1 | eqn -Tpsc | troff -Tpsc | psdit | lpr -Ppsb115
  17.  
  18. > but the "Print" menu of the help system has only the options "Set
  19. > Printer" and "Print This File" - none of which seems to allow me to
  20. > enter all parameters. I guess that the Andrew system offers a
  21. > preference or a shell variable that allows me to set such a string.  I
  22. > read help files for quite some tome now but did not find it.  Can
  23. > anybody give me a hint?
  24.  
  25. Yes, I try to get help on printing and nothing shows up!  It's in the
  26. preferences help file:
  27.  
  28. Here's my previewcommand (for an RS/6000 w/ ghostview):
  29.  
  30. *.previewcommand: ezprint -q -t /tmp/%s.n | eqn -Tpsc | psroff -t >
  31. /tmp/%s.ps; ghostview /tmp/%s.ps; rm /tmp/%s.ps
  32.  
  33. [aside: ghostview doesn't handle taking stdio very well, that's why I
  34. redirect to another tmp file.]
  35.  
  36. In your case, add this line to your preferences file:
  37.  
  38. *.printcommand: ezprint -q -t /tmp/%s.n | eqn -Tpsc | troff -Tpsc |
  39. psdit | lpr -Ppsb115
  40.  
  41. Gary Keim
  42. Andrew Consortium
  43.