Results 1 to 2 of 2

Thread: Generate a PDF of the current .aspx page

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    7

    Generate a PDF of the current .aspx page

    Could someone please outline the steps I would need to take to create a PDF from a button? The situation is that a user wants to create a PDF of the current .aspx page with a button. I have installed the CutePDF software but I do no know what steps it will take to make this happen. Any code would be appreciated.

    I did look at the other posts were very high level and I need to be enlightened on some of the basics. Thanks.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,173

    Re: Generate a PDF of the current .aspx page

    1. Find a third party API to create PDFs via code (Cute PDF?)
    2. Find documentation for that API. this?
    3. Use that API, call it from your code. Test it out. Experiment.
    4. Figure out what on your current page needs to be converted. You will need to pass the PDF a string of HTML, I believe, which it will then convert to PDF format. Where is this HTML, what is it in, is it in controls, how will you get it out?

Posting Permissions

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



Click Here to Expand Forum to Full Width