Menu

Convert CHM to PDF in (Fedora) Linux

I’ve been looking for a way to print CHM files in (Fedora) Linux, since my CHM file viewer, chmsee, doesn’t have a print option (and probably all other CHM file viewers as well). Searching for CHM to PDF converters in Fedora led me to chm2pdf.

chm2pdf has a couple of requirements:

chmlib

pychm

htmldoc

To install the necessary packages, execute this command in your terminal as root:

Thanks a lot ; I followed the steps under fedora FC12 and it’s OK.
but while trying to converting a book name.chm using –book option it gives me an error
when using –webpage option it generated the pdf file after a while but the same problem
as furicle told. after each section in the converted file a duplicated version is generated.

Thanks a lot Eng/Randell for your fast reply;
–book option works sometime on specific files and other times doesn’t work.
I converted till now about four books ; each is about 600~800 pages
and the conversion took about roughly three minutes.
No missing pages – but only duplicated sections when the option –webpage is used.
Neither missing pages nor duplicated sections when –book option work without errors.

Thanks for the addition info, Abdelrhman. I guess it would be best to report those bugs containing the exact errors on the project page so that the owners can work on them: http://code.google.com/p/chm2pdf/