Printing Linux Man Pages

To print a man page on a Postscript capable printer do this:

zcat /usr/share/man/man1/cat.1.gz | groff -man -Tps | lpr

You can specify the desired printer by adding "-P <name>".

To save the man page as a Postscript file do this:

zcat /usr/share/man/man1/cat.1.gz | groff -man -Tps >

To print a man page without any special formatting do this:

man cat | col -b | lpr