View Full Version : 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 (http://webmonkey.wired.com/webmonkey/02/20/index3a.html) 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?
06-14-2005, 08:02 AM
06-14-2005, 11:34 PM
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.
Thanks for the input! FPDF it is, then... I will certainly let you know how I make out.
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.
06-20-2005, 12:42 PM
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,
06-20-2005, 01:43 PM
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.
06-20-2005, 02:49 PM
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?
06-20-2005, 02:57 PM
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.
06-20-2005, 11:13 PM
Thanks for the quick reply
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.