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...PDF CreationPDF Creation
Previous
 
Next
New Post
12/23/2008 9:31 AM
 

Has anyone in the community used a product or service to dynamically create PDFs on the fly for DNN. I'm looking to have a couple modules on a page and an icon/skin object that creates a templated pdf of the page by pulling in some of the modules content (not some of the content but some of the modules). Anyone have any success with this type of scenario.

Thanks

 
New Post
12/23/2008 12:09 PM
 

 I don't use anything specific to DNN, but I have been using http://sourceforge.net/projects/itextsharp/ for all my PDF creation/manipulation needs.

It has a little learning curve, but the tutorials are good enough to have gotten me going. I believe all the names of things are the same thing as in the java version, so the java tutorials work, just need to do a little in the head conversion. :)

 
New Post
12/23/2008 12:18 PM
 

I have used (and continue to use) DynamicPDF for creating and merging PDFs on the fly in DNN and other applications as well.  Pretty powerful library they have there but to be honest I haven't tried many others (I have tried a couple that I thought were like pulling teeth getting to work but I can't remember which ones off the top of my head).

I tend to use the "merge" approach by creating a template and then just merging it into a new PDF with the details filled in.  No reason why you couldn't create completely new PDF on the fly with DynamicPDF though -- just depends which products you end up getting from them; I have the entire enterprise library but don't use most of it.


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
1/6/2009 9:18 AM
 

How do you specify what objects/modules you want to include in the PDF? Does it allow for that? Do you create a custom module using this library, or a skin object?

 
New Post
1/6/2009 10:38 AM
 

I haven't actually used it to "print" an entire page but in theory I could see it working.  Mine is used as a custom module that receives input from a PDF post (which posts as XFDF) and then I parse the post and merge it to a PDF then email and/or return the merged PDF.

To print an entire page I could see it as a separate skin object or module that would effectively make a request against the same page and then "screen-scrape" the resulting HTML into a PDF.  The same technique could be applied against a module in "print" mode.

You could even intercept the HTML just before returning to the client (techniques mentioned in these articles: here, here, here (scroll to the comments listed 1/28/2008 3:26 PM  sambarta).  Hopefully something like that will help.


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...PDF CreationPDF Creation


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