Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to generate pdf from dynamically filled asp 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

    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
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,613
    Thanks
    80
    Thanked 4,634 Times in 4,596 Posts
    Sorry, but I don't know how we could even begin to guess at the problem without seeing your code.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •