[geeks] Man -> paper

Mike Parson mparson at bl.org
Sun Jan 23 17:10:34 CST 2005


On Sat, Jan 22, 2005 at 02:43:15AM -0500, Joshua Boyd wrote:
> How would one go about getting a man page printed out?  
> 
> I see a reference to using the -t flag for man, but that just puts out a
> text file with graphics charaters in them, not poscript.
> 
> It seems that Irix ships formatted rather than unformatted man pages,
> which would prevent my from using troff/nroff/groff directly.

For prettier output of your manpages:

groff -Tps -man /usr/share/man/man1/ls.1 | lpr

This will reformat the original troff file as postscript instead of
ascii, which is the default output from man.

-- 
Michael Parson
mparson at bl.org



More information about the geeks mailing list