convert svg to pdf

146 views
Skip to first unread message

He

unread,
Aug 20, 2013, 3:30:58 PM8/20/13
to pdfne...@googlegroups.com
Hi,

I downloaded your PDFNet trial and ran the examples. I used Convert example to convert an svg file to a pdf. So I added a line "testfiles.Add(new ConvertTestCS.Testfile("svg2pdftest.svg", "svg2pdftest.pdf"));" in "ConvertTest.cs". I did get a resulting pdf file successfully, except that I got a printer dialog prompt during the execution. Is it a normal behavior? Is there a way to suppress the prompt, since I would like it to run in a server mode (non-interactive) eventually.

By the way, running Html2PDF requires an "HTML2PDF.dll", which I found nowhere to download from your web site.

Thanks in advance.

Regards,

He

Vincent Ycasas

unread,
Aug 20, 2013, 4:27:08 PM8/20/13
to pdfne...@googlegroups.com
The printer dialog window showed up because when converting from SVG to PDF using the Convert Add-On for PDFNet, it uses an external printer (virtual printer driver) to print the SVG.

HTML2PDF module can be found here: http://www.pdftron.com/pdfnet/downloads.html (see "HTML TO PDF CONVERSION MODULE" section).

He

unread,
Aug 21, 2013, 10:20:18 AM8/21/13
to pdfne...@googlegroups.com
Vincent,
 
Thank you for your reply. Is there a way to turn off the printer dialog window?
 
Regards,
 
He
Reply all
Reply to author
Forward
0 new messages