HTML2PDF.exe Utility
-
- Posts: 2
- Joined: Fri May 21 2004
HTML2PDF.exe Utility
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.
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:
If the html file is stored on your machine, you can call:
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.
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"
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.