I need to convert a chm file to another format, most likely pdf or html. I have tried chm2pdf and other converters but they all do horrific jobs at conversion. Even using a program like htmldoc doesn't do a very good job at converting to html.
Is there a way to just print each page of the chm file or taking a image of it and then saving that image to the pdf or other format.
The main reason for this is that chm books are filled with code and conversion tools don't format anything correctly.
I'm afraid that will be a multi-step procedure...
This complements the answer recommending a virtual to-PDF printer in that it's the more linuxy command line solution (all of the tools mentioned are available in Debian's and Ubuntu's package repository). Pick your poison. ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With