Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...A Dynamic PDF fileA Dynamic PDF file
Previous
 
Next
New Post
8/11/2007 5:48 PM
 

Is it possible - someone know of a module that does this - to create a PDF file dynamically based upon a database query, with static intro pages, dynamic TOC and a page break between each record returned?

I have a need to allow folks to view content online (not a problem) as well as download a PDF as described above.

I would be happy to have the PDF file recreated based upon a schedule rather than upon a user request for performance purposes.

Do-able or already done? (Actually, would like to have it available both in PDF and MS Word).


pmgerholdt
 
New Post
8/11/2007 9:24 PM
 

Already done ... not sure, but is doable.  You will need to use a PDF engine (library) like iTextSharp.  This free PDF engine can be used to create a PDF file on the fly (or in background).  ITextSharp will also output RTF, so it will work with MS-Word too.

You will need to develop the module, but it should be rather straight forward.  I have done something similar - created a Bill of Lading document on demand that was then opened for viewing and/or printing.

Hope this helps
Paul.

 
New Post
8/12/2007 9:18 PM
 

You might be interested in the PDF Generator that I built that is based on iTextSharp.  For more information, free vb source code and a link to the iTextSharp project on SourceForge, please visit my website: http://www.wesnetdesigns.com/Projects/PDFGenerator/tabid/83/Default.aspx

Although this project as it now stands handles my needs (a tabular presentation of data from a SQL query) at this time, it would need considerable extension to provide dynamic TOC, etc. but does show how iTextSharp can be be utilized as a PDF engine. Its output may also be viewed on the site for which it was developed: http://www.ctamaine.org/Centers/tabid/63/Default.aspx (click on the Make PDF button).

 


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
8/12/2007 11:21 PM
 

Thanks to both of you - I downloaded iTextSharp from SourceForge, as well as the PDF Generator, both source and install. Looks very promising!


pmgerholdt
 
New Post
8/13/2007 1:14 PM
 

Bill,

Great modification there!

Now, that I found this, I might actually get around to building my reports the way I want them now....


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...A Dynamic PDF fileA Dynamic PDF file


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out