Article

mendesdomnic's picture
article
Reads:

5787

Score:
3
3
3
 
Comments:

0

Convert man(ual) pages to PDF

Author Info

12 September 2008 - 4:36am
Submitted by: mendesdomnic

(View Disclaimer)

Ever wanted to create .pdf files from man(ual) pages? It's easy to do. Open a console and type:

Code:

man foo | enscript -o foo.ps | ps2pdf foo.ps [filename.pdf]

where foo is the manual page you want to create as a .pdf file. You can call foo.ps anything you want, but it must have the .ps extension. The optional [filename.pdf] allows you to create the resulting .pdf file with a different name (otherwise, the default foo.pdf will be created).


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell