Article View: comp.soft-sys.andrew
Article #1795Re: Print from "help" on PS printer?
From: Gary Keim
Date: Fri, 11 Dec 1992 23:23
Date: Fri, 11 Dec 1992 23:23
28 lines
1351 bytes
1351 bytes
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
Technical Details
Message-ID:
<Uf_G=Ve00Woh19EyVx@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!cs.utexas.edu!sun-barr!ames!agate!ucbvax!ANDREW.CMU.EDU!gk5g+References:
<of_FL2e00Woh19EwVA@andrew.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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