Re: Re: [PHP] Working with an existing PDF doc

From: Date: Sat, 02 Sep 2006 00:52:55 +0000
Subject: Re: Re: [PHP] Working with an existing PDF doc
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-241328@lists.php.net to get a copy of this message
Sorry, i was at work but the example i followed is located here. http://www.accesspdf.com/article.php/20050510131850979 Once you have pdftk compiled/setup this script in the example will pass the post/get data to the pdf to each field you setup in the pdf. If need be, i can send you the php i've created based on the example above. BTW if you're not familiar with pdf's, as i wasn't, you basically setup in the pdf fields (just like html forms) with names that you pass data to. You will also need adobe acrobat pro to be able to edit the pdf's. Hope this helps. On 9/1/06, tedd <tedd@sperling.com> wrote:
Silent1: That sounds like what I need, but from what I've read (no offense), it's not possible. Do you have an example? tedd I actually just finished messing around with something like this. Basically the task was to have a form where users would input stuff and that needs to be autofilled into a pdf (already created). I used pdftk (http://www.accesspdf.com/pdftk/) and a php script called (forge_fdf http://www.pdfhacks.com/forge_fdf/) which would dump the data to the pdf. I took the pdf i was given and I added fields to the original pdf that would get filled in from the form. pdftk allows to to completly control the pdf, add passwords (user and owner) and restrict the pdf (edit,print,view) and encrypt it and even flatten the fields. On 8/31/06, tedd <tedd@sperling.com> wrote:
Hi gang: I can create a pdf document "on-the-fly" pretty easily, as shown here: http://xn--ovg.com/pdf However, what I need is to find out how to open an existing pdf document and insert data into it -- does anyone have any experience in doing this, or references they can point me to? As always, mondo thanks for those who reply. tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- ------- http://sperling.com http://ancientstones.com http://earthstones.com


« previous php.general (#241328) next »