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

  1. Path: sparky!uunet!wupost!cs.utexas.edu!sun-barr!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: <Uf_G=Ve00Woh19EyVx@andrew.cmu.edu>
  6. Date: 11 Dec 92 23:23:13 GMT
  7. References: <of_FL2e00Woh19EwVA@andrew.cmu.edu>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 29
  12.  
  13. Excerpts from misc: 11-Dec-92 Re: Print from "help" on PS.. =>
  14. Info-Andrew@andrew.cm (1058+0)
  15.  
  16. > *.previewcommand: ezprint -q -t /tmp/%s.n | eqn -Tpsc | psroff -t >
  17. > /tmp/%s.ps; ghostview /tmp/%s.ps; rm /tmp/%s.ps
  18.  
  19. > In your case, add this line to your preferences file:
  20.  
  21. > *.printcommand: ezprint -q -t /tmp/%s.n | eqn -Tpsc | troff -Tpsc |
  22. > psdit | lpr -Ppsb115
  23.  
  24.  
  25. My previous message was .... incorrect.  The basic idea is this: before
  26. being passed off to the various mumblecommands, the source file is first
  27. converted to troff (possibly with embedded Postscript) and place in
  28. /tmp/%s.n, where %s is filename minus the extension.  So, you start with
  29. troff.
  30.  
  31. My previewcommand:
  32.  
  33. previewcommand: cat /tmp/%s.n | eqn | psroff -t | ghostview -; rm /tmp/%s.n
  34.  
  35. Your formatcommand:
  36.  
  37. formatcommand: cat /tmp/%s.n | eqn -Tpsc | psdit | lpr -Ppsb115; rm /tmp/%s.n
  38.  
  39. Gary Keim
  40. Andrew Consortium
  41.  
  42.