home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!cs.utexas.edu!sun-barr!ames!agate!ucbvax!ANDREW.CMU.EDU!gk5g+
- From: gk5g+@ANDREW.CMU.EDU (Gary Keim)
- Newsgroups: comp.soft-sys.andrew
- Subject: Re: Print from "help" on PS printer?
- Message-ID: <Uf_G=Ve00Woh19EyVx@andrew.cmu.edu>
- Date: 11 Dec 92 23:23:13 GMT
- References: <of_FL2e00Woh19EwVA@andrew.cmu.edu>
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 29
-
- Excerpts from misc: 11-Dec-92 Re: Print from "help" on PS.. =>
- Info-Andrew@andrew.cm (1058+0)
-
- > *.previewcommand: ezprint -q -t /tmp/%s.n | eqn -Tpsc | psroff -t >
- > /tmp/%s.ps; ghostview /tmp/%s.ps; rm /tmp/%s.ps
-
- > In your case, add this line to your preferences file:
-
- > *.printcommand: ezprint -q -t /tmp/%s.n | eqn -Tpsc | troff -Tpsc |
- > psdit | lpr -Ppsb115
-
-
- My previous message was .... incorrect. The basic idea is this: before
- being passed off to the various mumblecommands, the source file is first
- converted to troff (possibly with embedded Postscript) and place in
- /tmp/%s.n, where %s is filename minus the extension. So, you start with
- troff.
-
- My previewcommand:
-
- previewcommand: cat /tmp/%s.n | eqn | psroff -t | ghostview -; rm /tmp/%s.n
-
- Your formatcommand:
-
- formatcommand: cat /tmp/%s.n | eqn -Tpsc | psdit | lpr -Ppsb115; rm /tmp/%s.n
-
- Gary Keim
- Andrew Consortium
-
-