Hi,
I've installed the DynamicPDF Generator for .NET on my computer and at this moment i wan't to see which are it's capabilities. I have a short question: I wan't to implement a generic PDF converter, in detail, an aspx file which retrieves a path to another aspx file in the query string, processes it and converses it to PDF. It's there any way to convert the response from a page to a PDF ??? (I have a StringWriter which is the result of the page processing, and I wan't to return the page in pdf - DrawToWeb)
Thanks in advance,
Mihai.
WEB pages conversion to PDF
Re: WEB pages conversion to PDF
Support · Nov 28, 2005Hello Mihai,
We do not currently offer any conversion products, including Web pages to PDF conversion.
HTML and PDF are very different in nature and there is no perfect way of converting between them. For instance, HTML is flow able data that is designed specifically for viewing. It can shrink and reformat according to the screen size. PDF, on the other hand, is a very concrete and completely fixed document, designed specifically for quality printing. When tying to convert from HTML to PDF formatting becomes a severe issue.
There are products out there that can "convert" HTML to PDF, but the fact of the matter is that these products usually produce unsatisfactory results. In most cases, you will have to change your HTML in order to improve the look of your resulting PDF. Mostly, the products that do this conversion are basically taking a snapshot of how the HTML would print and then converting that to PDF, and you know how unpredictable a printed HTML page can be.
Our products are designed for high quality PDF formatting and output. Using them, you can take your data and produce PDF in real-time with the ability to control the exact placement of every element on the page. Therefore you will know the look or structure of your PDF before it is created.
If your HTML pages are based off of information from a database then you could easily create a PDF that will resemble your original HTML document, but there is no one line conversion. Our DynamicPDF Generator product would allow you to create PDFs based off of the same data used to create your HTML.
Another option would be to create a PDF template (or multiple templates) of your different reports, then using our DynamicPDF Merger product, you could simply add your data on top of the template you have created.
Thanks,
ceTe Software Support Team
Re: WEB pages conversion to PDF
Forum member · Nov 28, 2005Thanks for your quick response. I've imagined that you have a XML parser and a wrapper over standard HTML (nothing fancy) BUT i didn't saw it. The templates are not a suitable solution for me because site pages are changing constantly and will be a double effort to mentain also the templates (additional to pages).
Thanks again for your quick response,
Mihai.