Saturday, January 9, 2010

Convert CHM files to PDFs

Article which was published on  Linux For You:

In Linux systems install the chm2pdf package. chm2pdf is simple Python script that converts CHM files to PDF files.

Now to convert the chm to pdf file , run the following command

$ chm2pdf --book filename.chm filename.pdf
or
$ chm2pdf --webpage filename.chm filename.pdf

Difference between two options are


  • We use --book if the HTML sorces (input file) are structured
  • We use --webpage if the HTML sorces (input file) are unstructured

For help
$chm2pdf --help

Courtesy: Linux For You magazine

Thanks to Linux For you magazine

No comments:

Post a Comment