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 3 of 3

Thread: PDF methods

  1. #1
    New Coder
    Join Date
    Apr 2013
    Posts
    32
    Thanks
    2
    Thanked 0 Times in 0 Posts

    PDF methods

    Hello,

    I have a website (thanks to all the help from this forum), that has product pages. I was wondering what would be the preffered method to allow people to download that product page in pdf format.

    Is there a way/code that will take the product page and convert it automatically to a pdf to be downloaded to the users location choice? (by clicking a pdf button on the product page)

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,590
    Thanks
    0
    Thanked 644 Times in 634 Posts
    Take a look at http://fpdf.org
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New Coder
    Join Date
    Apr 2013
    Posts
    32
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks, this looks good, but I was wonder if there was a simplier way of simply creating a snap shot of the page (or a seciton of the page) and creating a pdf that way. Rather than having to build up each element of the pdf in code?


  •  

    Posting Permissions

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