Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Options for creating simple PDF in ASP.NET

Options for creating simple PDF in ASP.NET

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadmindiscussionworkspace
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RvrBndBrewer
    wrote on last edited by
    #1

    I think this has been addressed in some capacity a few times, but nothing recently, and nothing that addresses my exact needs. So here goes... I am looking for suggestions to accomplish the following in ASP.NET. The Nutshell: I need to take a string value, from a text box on a web form, and provide it in a PDF file for download. The PDF file will also include a static graphic. The Details: My thoughts right now are that I should probably start with something other than a PDF that contains the static graphic, add the text, and then convert to PDF. I thought this would be possible using MS Word, but understand that there are issues when doing this on a Windows 2008 Server - which is my environment. Ideally, I'd like to avoid a 3rd party library or application unless it's free or very cheap. The project is just as small as it sounds and can't afford the overhead.

    R A 2 Replies Last reply
    0
    • R RvrBndBrewer

      I think this has been addressed in some capacity a few times, but nothing recently, and nothing that addresses my exact needs. So here goes... I am looking for suggestions to accomplish the following in ASP.NET. The Nutshell: I need to take a string value, from a text box on a web form, and provide it in a PDF file for download. The PDF file will also include a static graphic. The Details: My thoughts right now are that I should probably start with something other than a PDF that contains the static graphic, add the text, and then convert to PDF. I thought this would be possible using MS Word, but understand that there are issues when doing this on a Windows 2008 Server - which is my environment. Ideally, I'd like to avoid a 3rd party library or application unless it's free or very cheap. The project is just as small as it sounds and can't afford the overhead.

      R Offline
      R Offline
      Rojan Gh
      wrote on last edited by
      #2

      I guess the best way to do this is to create the page in HTML and then convert it to PDF. There is a free tool here http://code.google.com/p/wkhtmltopdf/[^] but I have not used it myself with C# or so!

      Sojaner!

      1 Reply Last reply
      0
      • R RvrBndBrewer

        I think this has been addressed in some capacity a few times, but nothing recently, and nothing that addresses my exact needs. So here goes... I am looking for suggestions to accomplish the following in ASP.NET. The Nutshell: I need to take a string value, from a text box on a web form, and provide it in a PDF file for download. The PDF file will also include a static graphic. The Details: My thoughts right now are that I should probably start with something other than a PDF that contains the static graphic, add the text, and then convert to PDF. I thought this would be possible using MS Word, but understand that there are issues when doing this on a Windows 2008 Server - which is my environment. Ideally, I'd like to avoid a 3rd party library or application unless it's free or very cheap. The project is just as small as it sounds and can't afford the overhead.

        A Offline
        A Offline
        Andy_L_J
        wrote on last edited by
        #3

        Maybe you can try this... itextsharp[]

        I don't speak Idiot - please talk slowly and clearly 'This space for rent' Driven to the arms of Heineken by the wife

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups