The original question is at the end. Thanks to the following folks for their
replies. Here's what they suggested:
Chris Marble <cmarble@orion.ac.hmc.edu> wrote:
I've always just done "man whatever | col -b | lp"
mwang@tech.cicg.ml.com (Michael Wang) wrote:
Forget all about tbl/eqn/troff/dpost stuff, use groff.
The one I ended up using is from anders@hmi.de (Thomas Anders) who wrote:
setenv TCAT /usr/lib/lp/postscript/dpost
With TCAT set, I can do a "man -t whatever|lpr" and have everything nicely
formatted, paginated correctly, boldface where bold should be... etc.
Thanks all.
Thomas.
ORIGINAL QUESTION
=================
Howdy folks. Been thru the archive and docs.sun.com without finding the answer
so I thought I'd ask on the list.
Right now, I'm doing...
tbl /usr/man/man1/zcat.1 | eqn | troff -man -Tpost | dpost | lp
if I want a formatted print copy of the man pages. If I can set troff to use
dpost as the default, I can then simply do a "man -t zcat" instead. (right now,
the output is just troff code, not PS) Does anyone know how one goes about
setting the default filter for troff? Thanks in advanced.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:50 CDT