How to convert ASP page into PDF when user clicks a button?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • giandeo
    New Member
    • Jan 2008
    • 46

    How to convert ASP page into PDF when user clicks a button?

    Hello experts.

    Could any one suggest me how I could convert an asp page into pdf (on-the-fly) when a user clicks a button on a web page.

    Waiting impatiently for your reply.

    Giandeo
  • jeffstl
    Recognized Expert Contributor
    • Feb 2008
    • 432

    #2
    PDF is a proprietary format.

    The ability to "make" a PDF is part of what makes Adobe money. (Acrobat 8 is quite an expensive package)

    I don't think this would be an easy task.

    With that said, I will say that there is a software tool from Adobe called Adobe Live Cycle, which works with XML, XFA type of datasets and produces pdfs. There is also a snippet of php code that will generate a .FDF (which is a data file that is used to populate an Adobe PDF Form. ), or sometimes .PDF files.

    PHP\PDF Tutorials

    Another general direction I would give you is to look into generating XML data, because many of the PDFs today can utilize XML with XFA to produce a PDF.

    Comment

    • jhardman
      Recognized Expert Specialist
      • Jan 2007
      • 3405

      #3
      There are a few articles out there about how to fill out a pdf form using asp, there is also an application I ran across a while back called "ASPPDF", I'm not sure how much capability it has.

      Jared

      Comment

      • jonpfl
        New Member
        • Feb 2007
        • 31

        #4
        I am actually using ASPPDF in our current system.

        It is pretty easy to use but you end up doing alot of trial and error when creating PDFs (ie making sure the spacing is correct)

        If you have specific questions, let me know and I will try to answer them

        Thx
        jonpfl

        Comment

        • vel
          New Member
          • Oct 2007
          • 12

          #5
          i am also having the same problem..
          can anybody solve this problem to make a pdf file....

          Comment

          • danp129
            Recognized Expert Contributor
            • Jul 2006
            • 323

            #6
            There are various commercial PDF controls. Make sure you get one that can convert a URL into a PDF, it will make things much simpler they trying to dynamically generate a PDF. Just take any user submitted data and store it in a DB and have the pdf control request a page that lays out the user information and your site content in a normal html/asp page.

            Comment

            Working...