Need some help with HTMLTools.exe

Hello there,

We are evaluating HTMLTools to convert MHTML files to PDF and everything seems to work well except a couple things.

First and most importantly, we have some MHTML files that are being chopped off at the end after being converted to PDF, but they’re a small minority.  We tried adding a margin of 25x25x25x25 but it just added a margin under the cutoff.  I can’t find any articles or troubleshooting suggestions on this, just generic marketing-style lines.

Also, I can’t find anything on recursion in the command line switches for processing all files in a directory and all subdirectories.  Is there such an option?
Can you please email to us one of such MHTML files for checking? After we reproduced this problem in our end, we will figure out a solution to you asap.

You can run following command line to Convert all HTML files to PDF files in D:\temp folder and sub-folders (recursion),

for /r D:\temp %F in (*.htm) do "C:\VeryPDF\htmltools.exe" "%F" "%~dpnF.pdf"

Still waiting for a resolution on this issue.  I've tried the command line below, both from the command prompt directly and inside a .cmd file: it didn't work.
We are working on this problem now, we will let you know as soon as we have any finding on this problem.

In the meantime, you can also download HTMLPrint to Any Converter from following page to try,

you can run following command line to convert your MHTML file to PDF file,

html2any.exe -printtopdf C:\out.pdf D:\temp3\htmltools-test.mht

we hoping html2any.exe will work better for you, you may download it to try.

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

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!