Re: fdf/pdf

From: John T. Jarrett (john_at_logontexas.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 17:01:49 GMT

Hey, that's my username!

Ok, back to work...

I use http://www.ros.co.nz/pdf/ to put a pdf of a contract up with the
customer's info already inserted so they can just print it off after
storing or retrieving it from a MySQL database.

I'm not sure how well it will do FDF format...the version I use
predates that :>)

Two benefits to this one:

    1) it is free

    2) it is simple...maybe too simple...but works great

hth,
John T. Jarrett

"Jay Jarrett" <jjarrett@nospam.comcast.net> wrote in message
news:w8adnRW_nOQk357cRVn-rg@comcast.com...
> I'm looking for information regarding FDF file generation using form
output
> from php.
> What I would like to do is:
>
> 1. Enter information by form on a page via a browser.
> 2. Store this info in a MySQL database.
> 3.Call this info to populate a preexisting FDF file.
> 4. Output this back via browser by means of PDF.
>
> For example: I would create a PDF of an invoice (or whatever), then
make
> form fields in the PDF using Acrobat, and export an FDF file.
>
> %FDF-1.2
> %âãÏÓ
> 1 0
>
obj<</FDF<</F(PDF_TEST.pdf)/ID[<6a45115bd7bdbd3cf8b98e9e1720e737><603e
bdf0c8
>
fce94f8336817c6bf5df95>]/Fields[<</T(<Name>)/V(<variable_Name>)>><</T(
<addre
>
ss>)/V(<variable_address>)>><</T(<info>)/V(<variable_info>)>><</T(<pho
ne>)/V
> (<variable_phone>)>>]>>>>
> endobj
> trailer
> <</Root 1 0 R>>
> %%EOF
>
> The fields with "variable" in the name will be populated with user
input
> from PHP/MySQL.
> I'm sure this is very simple, but I am very new to PHP, so go
figure.
> Basically, what I need is some help or examples on how to make form
data
> populate a database, save it there, place the data into the FDF
file, then
> save it to the server. Maybe even create the FDF file itself. I'm
sure there
> are a number of ways to accomplish what I am trying to do.
>
> I have done this in Coldfusion, but I need this in PHP. Any and all
help
> and/or comments regarding this will be greatly appreciated.
>
>



Relevant Pages

  • Re: fdf/pdf
    ... Enter information by form on a page via a browser. ... Output this back via browser by means of PDF. ... > form fields in the PDF using Acrobat, and export an FDF file. ... > I'm sure this is very simple, but I am very new to PHP, so go figure. ...
    (alt.php)
  • Re: CutePDF and PHP
    ... email with the fdf file as an attachment. ... My problem is that I cannot "find" the FDF file with the php code!! ... I've never worked with PDF forms but I'm pretty sure that there isn't such thing as "PDF data format". ...
    (comp.lang.php)
  • Re: I have an FDF file saved to my disk and would like to use it with a web-based PDF with FILLA
    ... > to tell the PDF file I have an associated FDF ready to provide the ... I'd like to make the data in the FDF file populate the ... FDF file with your properly configured browser. ... there are commercial tools to do what you wish. ...
    (comp.text.pdf)
  • fdf/pdf
    ... I'm looking for information regarding FDF file generation using form output ... 3.Call this info to populate a preexisting FDF file. ... Output this back via browser by means of PDF. ... I'm sure this is very simple, but I am very new to PHP, so go figure. ...
    (alt.php)
  • FDF/PDF
    ... I'm looking for information regarding FDF file generation using form output ... 3.Call this info to populate a preexisting FDF file. ... Output this back via browser by means of PDF. ... I'm sure this is very simple, but I am very new to PHP, so go figure. ...
    (comp.lang.php)