How to print a man file?
Bob George
plug-discuss@lists.PLUG.phoenix.az.us
Thu, 10 May 2001 17:12:54 -0700
Eric Richardson
> Whats the easiest way to print a man file. I need to make it a
> postscript file so I can print it or just turn it into text is okay too.
> Thanks,
'man man' yields the -t option, which works if your printer is PostScript
compatible (or can generate a LOT of wasted paper if not):
man -t man | lpr
If you just want text:
man man | pr | lpr
If your printer does PostScript emulation, you might try:
man -t man | mpage -2or | lpr
This is what I often use to generate two-up pages for saving a bit of paper.
See 'man mpage' and 'man lpr' for details on what those do!
- Bob