Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Max 144 posts 166 karma points
    Apr 20, 2011 @ 14:49
    Max
    0

    Umbraco content page convert to pdf on the fly

    Hi I have a Umbraco page with datas such as

    Name: XXX

    Address:XXX

    [Image]

    i want to put a link liek a hyper link which say download pdf  when it clicks it wil automatically convert the page into pdf file to be downloaded on the fly

    maybe resoruces i will be using

    iTextSharp or any others

    any code examples or suggestions links will be very useful

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 20, 2011 @ 15:07
    Tom Fulton
    2

    Hi,

    There is a package that sounds like it's right up your alley - XSL PDF Creator - allows you to create PDFs from Umbraco content/pages. 

    If I recall the Case Studies on the Vizioz site is using this.  Chris also posted some blog articles explaining how he achieved this:

    http://blog.vizioz.com/2010/11/pdf-from-umbraco-creating-pdf-case.html
    http://blog.vizioz.com/2010/11/creating-pdf-documents-dynamically.html

    Hope this helps,
    Tom

  • Max 144 posts 166 karma points
    Apr 21, 2011 @ 07:40
    Max
    0

    u have to pay to use xsl pdf creator for single domain license any otehr options like itextsharp code i can use in an umbraco macro

  • Richard Soeteman 4045 posts 12898 karma points MVP 2x
    Apr 21, 2011 @ 10:02
    Richard Soeteman
    0

    Hi Max,

    You can use ITextSharp, plenty of codesamples on the web how to convert HTML to PDF using ITextSharp, but it isn't as easy and flexible as the XSL PDF Creator. So it propably takes longer to develop with ITextSharp than with the XSL PDF Creator, might be worth to pay for the product.

    Just my 2 cts.

    Cheers,

    Richard

  • Max 144 posts 166 karma points
    Apr 21, 2011 @ 13:17
    Max
    0

    hi i use Itextsharp already but i have a small problem i need to create a pdf of a <DIV  element in the template page of umbraco how can  i get the div Item.inner html into teh .net unser control macro to create the pdf

Please Sign in or register to post replies

Write your reply to:

Draft