Because of the advantages of pdf files,many people would love to share their files as pdf format to avoid being damaged or modified of their documents.The advantages of pdf files are as follows:
(1)Small in size
When you create a new pdf file from other document,you will find the size of the new pdf file will be smaller than the original one.Because there are some kind of compression algorithms being used when convert.
(2)Can be viewed freely
Pdf files can be browsed in computer,panel computer,even mobile phone or PDA.So you can open or share your pdf files anywhere and anytime.
(3)Easy to create
You can create a new pdf file by many kinds of software in a very short time.Always these software are very cheap and easy to use.
An important advantage of pdf files is security.Pdf files can not be modified and changed freely like word or text.They can be encrypted when being converted.So people wants to protect the content of their documents often convert the documents to pdf files.
2.Which software should be used?
If you want to convertfile,you can choose a kind of powerful software called HTML Converter Command Line.It allows you to create previews or thumbnails of web pages in a number of different formats, such as TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, PCX, TGA, JP2 (JPEG2000), PNM, etc. It also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.
You can download HTML Converter Command Line at the website http://www.verypdf.com/htmltools/htmltools.zip. If you want to know the main introduction of the software,you can visit http://www.verypdf.com/htmltools/index.html. There is also the user manual at http://www.verypdf.com/htmltools/htmltools-manual.htm.
3.How to convert?
Step1.Run cmd.exe program
There are two methods to run cmd.exe.
Method1.Click start menu and click “run” in the menu.In the popup dialog box please input “cmd” in “open” edit box,then click “OK” button.
Method2.Use the hot key “Windows”+ “R”.
Step2.Input command lines
The command lines should be the structure like the below one:
“htmltools.exe” “input.mht” output.pdf
htmltools.exe means the called program which is the executable file in HTML Converter Command Line.It is the most important part of the conversion of mht to pdf.
input.mht means the source file.
output.pdf means the target file.
Here are the detail interpretations to the command line above.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" "C:\Documents and Settings\admin\Google.mht" google.bmp
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of called file.If you don’t want to input a so long path,you can find the file and copy the directory,then right click your mouse in cmd.exe dialog which means “paste”.There is an easiest way,you can drag the file into the dialog directly.
"C:\Documents and Settings\admin\Google.mht" is the path of source file.Of course you can drag the source file into cmd.exe dialog,too.
google.bmp is the name of target file.Please don’t forget define the extension name as .pdf.
Step3.You can find your target file in current directory.You can also specify the directory for the target file yourself.