Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2004 19:40:58 -0400 (EDT)
From:      Chris Hill <chris@monochrome.org>
To:        Andrew Elmore <aelmore@interwoven.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: printing manpages
Message-ID:  <20040408193736.K26026-100000@frambozen.monochrome.org>
In-Reply-To: <20040408230216.GE84840@interwoven.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Apr 2004, Andrew Elmore wrote:

> [...] I can't for the life of me figure out how to print a manpage.
> The closest "man man" gives me is:
>
> -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 being printed.
>
> Any suggestions on what the command line for that filter looks like?

I get good-looking results using, for example,

man -t ipfw | lpr

...or plain-vanilla (but readable) results using

man ipfw | lpr

FWIW, this is with a Postscript printer. HTH.


--
Chris Hill               chris@monochrome.org
**                     [ Busy Expunging <|> ]



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