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 10 of 10
  1. #1
    mtd
    mtd is offline
    Regular Coder
    Join Date
    Jun 2003
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dynamic PDF creation

    Hi everyone! I have a client who has a PDF product brochure on their website. They have the layout all spiffy (It's just a copy of their print version, hence the PDF format). The catch is, they want to change the prices every once in a while online. Their hosting has PDFlib installed, but I'm not familiar with the dynamic PDF creation process. Is there a way to define the prices as a variable, or does the whole brochure need to be read and re-formed each time?

    I'm reading the Webmonkey tutorial, and I'm gonna track down the PDFlib documentation as well. Until I can sift through all of that and make sense of it:

    Anybody have experience with this? Any suggestions?

    THANKS!

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    Regular Coder
    Join Date
    Apr 2005
    Posts
    388
    Thanks
    0
    Thanked 0 Times in 0 Posts
    definately go with fpdf, you can actually define the whole page as variables and put together a pdf file on the fly, way cool. I am working on a project doing the same thing, let me know if you run across any good reading on it and I will do the same for you.

  • #4
    mtd
    mtd is offline
    Regular Coder
    Join Date
    Jun 2003
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the input! FPDF it is, then... I will certainly let you know how I make out.

  • #5
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i'd recommend r&os --> http://www.ros.co.nz/pdf/
    i've used it a lott lately and it's great. specially if you need to create tables, a table of content etc.
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #6
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    fpdf uses? is this possible?

    So, I have a question - I just today learned about this fpdf function. I have a small graphic i have designed in Photoshop - and I would like my sites visitors to be able to personalize it with their name and address (like a badge). So would I be able to upload the badge image and let pepole use a form on my website to type in their name/address? After submitting the form could it then take them to a page with the PDF file personalized with their content waiting for them to download? That would be super! thanks,
    jeremy

  • #7
    Regular Coder
    Join Date
    Apr 2005
    Posts
    388
    Thanks
    0
    Thanked 0 Times in 0 Posts
    should be able to, check out your imagettft function to write your text on the graphic, then just put it through fpdf. sounds alot easier than it is.

  • #8
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    something not for beginners?

    Thanks for the quick reply...

    Ah, so how tough is this fpdf to learn overall - i'm quite a newbie to server side scripts and whatnot, i mean - i just learned how to upload a CGI script correctly this week. or is it something I am going to probably need to pay to have done for me?

  • #9
    Regular Coder
    Join Date
    Apr 2005
    Posts
    388
    Thanks
    0
    Thanked 0 Times in 0 Posts
    fpdf is not that hard to get going, it is hard to get it formatted correctly, I cant find much documentation on formatting pdf files with it, if anybody knows a good link for formatting pdfs, I could stand to read it as well.

    php isn't that hard, when you have the help of the experts here, there is a bunch of tutorials online, look through the posts and you will find several.

  • #10
    New to the CF scene
    Join Date
    Jun 2005
    Location
    golfsnews.com
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the quick reply


  •  

    Posting Permissions

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