logo       

Re: Generating PDFs fromPHP: msg#00030

php.tcphp

Subject: Re: Generating PDFs fromPHP

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Skip Evans wrote:

|> Depending what you need to generate, you may be able to use something
|> along these lines:
|>
|> http://koivi.com/fill-pdf-form-fields/
|>
|> However, it doesn't generate an actual PDF, just fills in form field
|> values using FDF data.

| My real concern i sthe look of the thing. They
| have these nice looking invoices now with their
| logo, small, concise print, etc, so if I just throw
| something into the browser and tell them to
| hit their print button, they'll think less of me
| than the stellar genius I've been able to misled
| them into thinking I am (isn't that always the way?)

Invoices, eh? Create yourself a PDF the way you want it to look, add in
the form fields wherever data would be different between invoices, then
look at that URL above. As long as you are matching field names, you can
generate the appropriate FDF data to send to the browser with the PDF
headers so that it *seems* like you are generating the entire PDF. ;)

- --
Justin Koivisto - justin-72EOUSqB708AvxtiuMwx3w@xxxxxxxxxxxxxxxx
http://koivi.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFCSHXkm2SxQ7JEbpoRAmVCAJ9yzQbWAONPogkatGxzRzGuFt6ifACdH1sL
JtSkuYSMD+DlDOUSBiQI1lg=
=LgYl
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise