Question:I have two types of document: CHM and PDF, but I'd rather like it if they all were in PDF format as I do not know how to open CHM.I am looking for some good way to change it.Is there any solution on VeryPDF? I'll appreciate it.
Answer: According to your needs, maybe you can have a free trial of this software:VeryPDF CHM to PDF Converter. There are two versions of this software: GUI version and command line version, and both of these two versions can work under Mac and Windows system. So no matter you are Mac user or Window user, there will be a good choice for you. Please check more related information of this software on homepage, in the following part, let us check how to use this software.
- Here I will take the Window command line version for example. Actually this software either could be used as command line version or GUI version. When downloading finishes, there will be an exe file. Please install this software by double clicking the exe file and following installation message.
- When installation finishes, please go to installation folder then you can find the executable file named chm2pdf.exe.
Step 2. Convert CHM to PDF by command line
- When you use this software, please refer to the usage and examples of this software.
- Here is part of the parameter list for your reference:
-chp <int/int/int..> : Select a CHM chapter to convert to PDF.
-chpft <int/...> <int/...>: Select a chapter range to convert. No chapters must be at the same level.
-pgft <int> <int> : Select a page range to convert. No bookmark will be generated.
-B <num unit> : Set the page bottom margin.
-L <num unit> : Set the page left margin.
-R <num unit> : Set the page right margin.
-T <num unit> : Set the page top margin.
-O <string> : Set page orientation (Landscape/Portrait,No default Portrait).
-s <string> : Set paper size.
-h <num unit> : Set page height. -h and -w must be used together.
Here are some command line templates for your reference:
chm2pdf -chp 2/1 input.chm output.pdf
chm2pdf -chpft 2/1 2/3 input.chm output.pdf
chm2pdf -pgft 1 25 input.chm output.pdf
chm2pdf -B 8 in input.chm _B.pdf
chm2pdf -L 100 pt input.chm _L.pdf
chm2pdf -R 6 cm input.chm _R.pdf
chm2pdf -T 100 mm input.chm _T.pdf
If you need to know more parameters and command line template, please check them in readme.txt. During the using, if you have any question, please contact us as soon as possible.