Monday, May 11, 2009

Howto: Print UNIX man pages

Some notes on printing manual pages:

To view "raw" man pages in nroff/troff format:
$ nroff -man manpage | less -s

$ nroff -man qtool.8 | less -s

To output a UNIX man page in a format suitable for printing, pipe the man page through col -b:
$ man command | col -b

To print a raw man page:
$ nroff -man qtool.8 | col -b | lpr

Readers who read this page, also read:

Bookmark and Share My Zimbio