Re: Formatting Man pages for printing

Shawn Bayern (shawn.bayern@yale.edu)
Fri, 19 Feb 1999 22:35:38 -0500 (EST)

On Fri, 19 Feb 1999, Ken Lai wrote:

> You might try the -T option, and specify a device type, like dvi or
> perhaps ps. (It runs troff/groff) Look in man man to check on the
> -T option.

-T is generally a 'groff' option, not one for 'man'. But man -t causes
the output to be passed through groff. Something like

man -t ls | lpr

(to a PostScript printer) should work. (This calls groff with -Tps, which
may be what you're thinking of.)

This applies to RedHat's man... 'man -t' on other systems may differ. On
Solaris, for instance, -t causes man to print the job to LPDEST directly.
I don't know how standard it is across Linux distributions.

Shawn