This requires the following software packages:
Create a new directory, and extract the html files from the CHM into it. <code>0@@</code>
Next, we run the htmldoc gui, and add all the files from the source directory to it. <code>1@@</code>
Next, go to the output tab and select to output in PDF format, and chose an appropriate filename. Select any other desired options, and then click the Generate button.
It will take a few seconds/minutes to convert, and when it completes, your PDF should be created.