Generate PDF Report in COM/ActiveX
Automated PDF report generation can be done using DynamicPDF ReportWriter product. Reports can be created from your business objects or a varity of data sources including Sql Server, Oracle or MySql databases.
How to Generate PDF Report
DynamicPDF Designer is used to create a PDF report template (DLEX file) and the ReportWriter lays out the data to create the PDF report. DynamicPDF Designer is a free tool that allows the creation of a report templates.
Steps to generate PDF report
- Create a
Document
object. - Create a
DocumentLayout
object using a DLEX file as a template. - Run the report and save the PDF.
- Draw the output PDF to browser.
Sample Code - ASP
Dim MyDocument
Set MyDocument = Server.CreateObject("DynamicPDF.Document" )
Dim MyDocumentLayout
Set MyDocumentLayout = Server.CreateObject("DynamicPDF.DocumentLayout")
MyDocumentLayout.LoadDplx("SimpleReportWithCoverPage.dlex")
Set MyDocument = MyDocumentLayout.Run()
MyDocument.DrawToWeb
Getting Started
DynamicPDF ReportWriter Information
More information can be found here:
Available in Other Platforms
DynamicPDF ReportWriter PDF Library is available for .NET platforms. Refer to the product page for more details.