HTML2PDF.exe Utility

If you are a VB developer and have questions about using our products from VB, here is the place to post them.
Post Reply
kiransurfs2
Posts: 2
Joined: Fri May 21 2004

HTML2PDF.exe Utility

Post by kiransurfs2 »

I am trying the HTML2PDF utility ...does any one have a sample code. It is not working for me. Also can we call this exe from an ASP application.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

HTML2PDF is made to be called from the Command Prompt, i didn't try it to call it from ASP myself but you may try to do it.

No code is really needed to call HTML2PDF, in the downlaod page there is a sample call to html2pdf.

Examples:

If HTML2PDF is stored under C:\Temp, you can call the following from the DOS prompt to convert a web page to pdf:

Code: Select all

C:\Temp\html2pdf "www.amyuni.com" "c:\temp\test.pdf"  "Amyuni PDF Converter" 
If the html file is stored on your machine, you can call:

Code: Select all

Html2PDF file://c:/temp/test.htm c:\temp\test.pdf "Amyuni PDF Converter"

To generate pdf file from ASP, please feel free to downlad TN01 that contains a sample on using the PDF Converter from ASP at: http://www.amyuni.com/en/support/technotes.html

Hopep this helps.
Post Reply