Hello,
I need to convert some html documents to pdf format. I tried the html2pdf but it does not work. Installed printer is PDF Converter 2.1 and here is the syntax I use:
C:\Temp\HTML2PDF\Html2PDF.exe "file://Test.html" "C:\Test.pdf" "My Printer"
Is this OK? "My Printer" is my PDF Converter (I am a customer and have the valid license for PDF Converter 2.1).
Is there any possibility to convert html to pdf programmatically and without opening of web browser (just with code and without html2pdf)?
html2pdf problem...
Hello,
You can use BatchConvert() to convert a bunch of HTML files in a given folder to PDF,
You can call BatchConvert("c:\Temp\*.html)
But for this to work you need to add some lines of codes to your application, for more information please check "Common Driver Interface 210.pdf"
To use HTML2PDF try
C:\Temp\HTML2PDF\Html2PDF.exe "C:\Test.html" "C:\Test.pdf" "My Printer"
You can use BatchConvert() to convert a bunch of HTML files in a given folder to PDF,
You can call BatchConvert("c:\Temp\*.html)
But for this to work you need to add some lines of codes to your application, for more information please check "Common Driver Interface 210.pdf"
To use HTML2PDF try
C:\Temp\HTML2PDF\Html2PDF.exe "C:\Test.html" "C:\Test.pdf" "My Printer"