How to convert any printable document to HTML (HTML5/SVG) format using VB Script?


With Print2Html5 it is easy to convert any printable document to HTML format using VB Script. You may convert any type of documents that can be printed programmatically: Microsoft Office documents (Word, PowerPoint, Excel, Outlook), PDF documents, text (.txt) documents, image files (JPG, GIF, PNG, TIFF, BMP, etc.), Microsoft Project documents, OpenOffice documents (OpenOffice Writer, Calc, Impress, Math, Draw), Adobe InDesign documents, Autodesk AutoCAD documents and other types of documents.

To convert documents to HTML programmatically you may use Print2Html5 OLE Automation API. You may get a sample demonstrating how to use Automation API for converting with VB Script from Print2Html5 SDK. The SDK archive can be downloaded from the Download page. The VB Script sample is located in the Automation\VBScript folder of the SDK archive. To test the sample, you need to unpack the sample folder to disk and then follow instructions in the ReadMe.htm file located in the sample folder.

To run the SDK sample, you need to download and install a Commercial Edition of Print2Html5 as well. It can be downloaded from the Download page.