CHM is typically used for documentation of software and libraries or for books. It can sometimes be convenient to convert a CHM file to PDF file. For example, you might prefer a PDF file to use on Linux, ebook readers or tablets. This conversion can be performed easily using chm2pdf.
$ sudo apt-get install chm2pdf
$ chm2pdf --book foobar.chm
This produces a
foobar.pdf file. We provided the option
--book in the above command. Alternatively, you can provide either
--webpage too. These options hint to chm2pdf about the structure of the CHM file. One of these three options has to be provided.
Tried with: chm2pdf 0.9.1 and Ubuntu 12.04 LTS