Home » Questions » Computers [ Ask a new question ]

Generate a PDF from a CHM

Generate a PDF from a CHM

I have seen many questions about PDF printers around, and I am already using a PDF printer (Bullzip PDF printer).

Asked by: Guest | Views: 75
Total answers/comments: 1
Guest [Entry]

"Converting on Linux

use chm2pdf

On windows

First off, open up CHM Decoder.
In the Open File tab, click the Open button and select the CHM you want to convert.
Click the Decode tab. Append a directory name to the one it selected. It’ll create a new directory. It doesn’t matter what value

Now comes the tricky part. In chm2pdf, it keeps track of the ordering of the HTML files. You lose the ordering here and have to reconstruct it by hand. The difficulty here varies from book to book. Keep the CHM file open in one window so you can peek at the Table of Contents.

Now fire up HTMLDOC.

You’ll be greeted by the Input tab first. Make sure that the Document Type is set to Book.
Click on the “Add Files…” button and find the table of contents file, usually called toc.html. Add it first.
Click “Add Files…” again. You’ll need to add the files in order here. Only add HTML files, don’t worry about images, they’ll get converted. See screenshots below. It may be as easy as shift-selecting the entire thing, or you might have to add chapter by chapter.
Click the Output tab. Select the PDF radio button in Output format. Click the Browse button on Output path, browse to where you want the pdf to go, type in a name and click OK.
Click on the Page tab. Check that the margins are okay. Generally Universal works since CHM files are usually easy to reflow.
Click on the PDF tab. Select PDF version 1.4 (Acrobat 5.0.) For first page, select TOC.
Click the Generate button.

Source :http://imaddicted.ca/guides/eslick/chm/"