#1
  1. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Jan 2012
    Posts
    9
    Rep Power
    0

    How to generate pdf from dynamically filled page


    I am using asp not asp.net

    I have one asp page on which at least 45 values are filled by user and the table structure is of 8 columns and 10 rows…..

    My task is to send it to database then generate pdf of that page and then email to admin.

    After a lot of search I found help and successfully manage to complete my task. I am using persits.pdf for creating pdf and cdosys for sending mail…
    All the values are saved in access database successfully and generated pdf is emailing very fine.
    Now problem is occur here when I test pdf this line is written “A TEST FOR PDF GENERATION BY ME” and not my form values.

    I think this txt comes from this line of code

    Page.Canvas.DrawText "A TEST FOR PDF GENERATION BY ME", Params, Font

    I also paste whole html of table in these quotes but not succeeded

    I don’t know wht to do please help me
  2. #2
  3. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Mar 2012
    Location
    USA
    Posts
    75
    Rep Power
    0
    Here you can find the way to generate PDF: http://www.allquickfix.com/articles/How-to-create-PDF-documents-dynamically-using-PHP/


    PHP Web Development | iPhone App Development
  4. #3
  5. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Oct 2012
    Location
    San Jose
    Posts
    7
    Rep Power
    0
    If your site/code runs on a public server I would suggest you use https://pdfcrowd.com/
  6. #4
  7. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Dec 2012
    Posts
    1
    Rep Power
    0
    Outstanding to its age ASP doesn't have a lot of support for things like PDF generation however, I frequently find answers which here are some helpful source: http://www.codango.com/asp/fnc/searc...ry=PDF&cat=all

Similar Threads

  1. Events not working when dynamically loading usercontrol
    By cornelis79 in forum .NET Development
    Replies: 0
    Last Post: February 28th, 2007, 08:59 AM
  2. what's wrong with the pageing?
    By gilgalbiblewhee in forum ASP Development
    Replies: 3
    Last Post: August 13th, 2004, 12:26 AM
  3. something wrong in the table section
    By gilgalbiblewhee in forum ASP Development
    Replies: 2
    Last Post: August 9th, 2004, 04:12 PM
  4. Replies: 6
    Last Post: April 14th, 2004, 07:48 AM
  5. Passing some form variables to some other .NET page
    By nasir ahmed in forum .NET Development
    Replies: 3
    Last Post: November 20th, 2003, 04:06 AM

IMN logo majestic logo threadwatch logo seochat tools logo