You Are Here: Home » Articles » How-To » Linux » OS

How To Convert CHM Files To PDF In Linux?

By Debjit on March 11th, 2010 
Advertisement

Convert CHM to PDF in LinuxCHM files are generally found on Windows operating systems (MS Windows Help File Format).This format facilitates archiving of millions of html files into one single file, including the images and all. Now, Linux boxes and mac boxes don`t have built-in support for handling CHM files. We have already showed you how to hack a CHM file to extract it's contents. Now in this article we will tell you how to convert a CHM file to a PDF file in Linux.

Step 1: Install a package called chm2pdf:

for debian/ubuntu:

sudo apt-get install libchm-bin

for fedora/redhat/suse:

sudo yum -y install chmlib

Step 2: In order to convert a CHM file to it's PDF equivalent, all you need to do is issue this simple command which is a part of the utility that we just told you how to install on your Linux system. Here is the command:

chm2pdf –book <yourCHM.chm>   <outputname.pdf>

After the execution of this command you will see a pdf file in the same directory which is the PDF equivalent of the CHM file you just converted. If you have any issues regarding the usage of this tool, then you can go through these FAQs. Thanks Irally for the tip.

Advertisement







How To Convert CHM Files To PDF In Linux? was originally published on Digitizor.com on March 11, 2010 - 9:24 pm (Indian Standard Time)