A simple Python script that converts CHM files into PDF files.
Requires:
(Old versions require pdftk too)
All of these should be in your favourite distro repository. Currently it works on Linux (and probably most Unixen).
If you have bugs/problems/issues/questions, as a general advice
use the Google group link at your right to post them, not my blog or personal emails (I answer the latter, but I want bug reports etc. to be public). If after the discussion we're sure we're dealing with a true bug, post it to the Issues.
Again: Bugs, problems etc.
should be sent to the Google group. NOT as comments to the wiki pages, blog comments or anything else. Thanks!
http://code.google.com/p/chm2pdf/
HowToInstall Installation instructions
Dependencies
You need those packages installed and working:
Gentoo:
Ubuntu/Kubuntu/Debian:
- libchm
- libchm-bin
- libchm-dev
- python-chm
- html-doc
- htmldoc-common
Analogous packages should exist on most other Linux/BSD distributions. Users have reported success on Mac OS X, however currently this is unsupported.
On Fedora, it has been reported that the chmlib package is missing some essential files. You need to look for chmlib-bin or to compile chmlib by hand.
If you install chmlib from source, do not forget to use the --enable-examples on chmLib, otherwise this script will throw a bunch of exceptions, and will fail.
If you use Mac OS X, and you use darwin ports (port on the cmdline), be aware that the chmlib will NOT be built with this option. You can, however, separately download chmlib and build it yourself with this option, install it, and then re-run the script.
Install- Download the archive
- Unzip it (tar -xzvf chm2pdf-x.x.x.tar.gz)
- Enter the directory
- Become root
- Type "python setup.py install"
- Enjoy
http://code.google.com/p/chm2pdf/wiki/HowToInstall
Hope it helps!
thanks to original source:
http://www.karakas-online.de/forum/v...ic.php?t=10275