html2pdf problem...

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
Igor_Z
Posts: 9
Joined: Wed Aug 11 2004

html2pdf problem...

Post by Igor_Z »

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)?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

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"
Post Reply