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,
http://www.verydoc.com/htmlprint-to-any.html
http://www.verydoc.com/htmlprint2any_cmd.zip
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.
=====================================
Related Posts
Related posts:
How to convert rtf to gif
How to convert rtf to pnm?
How to set both the page width and height while converting wmf to pdf?
How to set the page width while converting htm to pdf?
How to rotate the page while converting url to pdf?
How to set color depth when convert EMF to JPG?
How to rotate the page when converting EMF to TGA?
Convert WMF to PDF and edit PDF keywords