Printing MAN pages
stijn at win.tue.nl
Thu Sep 8 10:36:49 PDT 2005
On Thu, Sep 08, 2005 at 07:53:28PM +0300, Giorgos Keramidas wrote:
> 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 foo > foo.ps
> will generate Postscript output, which is a lot better for printing.
Highly useful to know, but shouldn't we update the man page for man(1)?
-t Use /usr/bin/groff -S -man to format the manual page, passing
the output to stdout. The output from /usr/bin/groff -S -man
may need to be passed through some filter or another before
This does not exactly spell 'output postscript' to me...
Coughlin's law: never tell tales about a woman no matter how far away she
is, she'll always hear you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050908/29ccbbf4/attachment.bin
More information about the freebsd-questions