Anyone who are working on Linux / UNIX are aware of man pages, man – an interface to the on-line reference manuals.
man is the system’s manual pager. Each page argument given to man is normally the name of a program, utility or function. The manual page associated with each of these arguments is then found and displayed and these man pages are stored in some special format.
Now, suppose you need to convert these man pages to PDF files which are more readable and easy to print
Below simple command will convert any man pages to PDF file
man -t sendmail | ps2pdf – sendmail.pdf
Output of above command will be pdf file with name sendmail.pdf.