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.