I have an ASP ( classic ASP) page containing jpeg and gif images and data retrieved from data tables. Can I directly feed the URL of this page to an output stream object of DynamicPDF Generator and convert this asp page to a pdf document?
Thanks,
vinny
Directly convert ASP URL to PDF?
Re: Directly convert ASP URL to PDF?
Support · Dec 12, 2006Hello Vinny,
It is not possible to covert the .asp or any other web pages into PDF documents using any of our products. You can add images to the PDF document using our product without any problem. You can refer to the images
topic on our help documentation which shows how to add images to the PDF.
The reason we do not offer this conversion is because HTML or webpages 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 screen size. On the other hand there’s PDF, which is a very concrete and completely fixed document, designed specifically for quality printing. So 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 some cases, you will have to change your HTML in order to improve the look of your resulting PDF. Mostly, the products that claim to 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 runtime, dynamic PDFs 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 creation time.
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 Generator for COM/ActiveX would allow you to create PDFs based off of the same data used to create your HTML file.
Another option would be to create a PDF template (or multiple templates) of your different reports, then using our Merger for Com/ActiveX product, you could simply add your data on top of the template you have created.
Thanks,
ceTe Software Support Team.