Subject: RE: How to print man pages?
To: Johnny C. Lam <current-users@netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
List: current-users
Date: 12/26/1999 22:14:34
> 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.

I use something like this:

--8<--
[/tmp] martin@rumolt > groff -Tps -mandoc /usr/share/man/man1/ls.1 > ls.ps
[/tmp] martin@rumolt > file ls.ps
ls.ps: PostScript document text conforming at level 3.0
[/tmp] martin@rumolt > 
-->8--

Or pipe it directly into lpr.


Martin