How to convert a document of mht to pdf file?

1.Why convert mht to pdf?

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 convert mht to pdf file,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 If you want to know the main introduction of the software,you can visit There is also the user manual at

3.How to convert mht to pdf?

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.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

2 Replies to “How to convert a document of mht to pdf file?

  1. This product was purchased to convert MHT files to PDF but it doesn’t work.
    Please help. Sample attached.

    We suggest you may download and install “Document Converter (docPrint Pro)” from following web page to try,

    after you install it, you can run following command line to convert from MHTML files to PDF files,

    “C:\Program Files (x86)\docPrint Pro v6.0\doc2pdf.exe” -i D:\downloads\HM_Followers_0000000008.mht -o D:\downloads\HM_Followers_0000000008.pdf


    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)
  2. Hi there,

    Can you tell me if you support conversion from MHT to PDF? If that’s the case, how long does it typically take to process the file? And what volume of files can be handled?

    Thank you,
    Thanks for your message, we suggest you may download docPrint Pro v7.0 from this web page,

    after you download and install it, you can run following command line to convert the MHTML files to PDF files quickly,

    “C:\Program Files (x86)\docPrint Pro v7.0\doc2pdf.exe” -i D:\test.mhtml -o D:\out.pdf

    In general, it is need 2~3 seconds to convert a MHTML file to PDF file, you can convert any number of MHTML files to PDF files, you can write a batch script file (.bat file) to batch convert all of your HTML files to PDF files quickly, for example,

    for %F in (D:\temp\*.mhtml) do “D:\Program Files (x86)\docPrint Pro v7.0\doc2pdf.exe” -f 9 -i “%F” -o “X:\INVOICES\%~nF.pdf”


    VN:F [1.9.20_1166]
    Rating: 2.0/5 (1 vote cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!