Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2005 10:23:01 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Gerard Seibert <gerard-seibert@suscom.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Printing MAN pages
Message-ID:  <43204945.7090107@mac.com>
In-Reply-To: <Pine.WNT.4.63.0509081012070.3172@Treneq.frvorepbz.arg>
References:  <Pine.WNT.4.63.0509081012070.3172@Treneq.frvorepbz.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
Gerard Seibert wrote:
> I am trying to figure out how to print 'man' pages. If I try a simple 
> redirect, such as: "man foo > foo.txt" the new file is loaded with 
> control symbols, etc. that are not really printable. I want to save the 
> files if possible, and print them out at a later date. It that is not 
> possible, how would I go about printing them out in real time?

"man -t man > man.ps" will generate a PostScript version of the manpage and 
save it to the file man.ps.  Read up on groff/gtroff if you need some other format.

-- 
-Chuck





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43204945.7090107>