Subject: Re: How to print man pages?
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: Antti Kantee <pooka@iki.fi>
List: current-users
Date: 12/26/1999 21:20:22
On Sun Dec 26 1999 at 14:14:21 -0500, Johnny C. Lam wrote:
> One of the reasons NetBSD ships with the man pages in source form is
> so that, in theory, we can print nicely-formatted man pages in
> Postscript. How exactly does one do this? I hear it's done with
> troff(1), but I can't figure it out from the manpage.
Using _g_roff the critical switches are T and m, something like groff
-Tps -man should work fine and can be piped to lpr or whatever you like.
--
"Never underestimate the power of the Lite side of the \Source/"
Antti Kantee / NetBSD \ 1973 <- draken \ / o
<pooka@iki.fi> / http://www.netbsd.org \ platters -> 1999 \ / |
______________/ Free Multiplatform UN*X \___________________\/__ |