> Sam Smith wrote:
>> I have an existing PDF file that I want to add text to or make changes to
>> text with data from an HTML form via PHP.
>>
>> The PDF looks like this:
>> 20 0 obj<>stream
>> 8;X-DgMYb:(An746bc%oU,Mo*S> -$2%Ipq]A
>> aoW>]"SN?epNo...
>>
>> That is, not in plain text.
>>
>> If
Also keep in mind that any graphics in the PDF, even an uncompressed one, will
show up encoded... Base64 or UTF or whatever PDFs use.
I also remember reading once that there's data at the end of the PDF that gives
a pointer to where in the PDF certain data is. That if you add/remove stuff
from
Sam Smith wrote:
I have an existing PDF file that I want to add text to or make changes to
text with data from an HTML form via PHP.
The PDF looks like this:
20 0 obj<>stream
8;X-DgMYb:(An746bc%oU,Mo*S]"SN?epNo...
That is, not in plain text.
If I wanted to add text to the PDF, e.g., Mr. Jones, wher
This isn't *quite* editing, but I have had success using FPDF
(http://www.fpdf.org/) for PDF generation. There is an extension class called
FPDI (http://fpdi.setasign.de/) that allows you to import an existing PDF as a
template, and you could add text over it.
Hope this helps.
Keith
>
> From:
Sam,
I'm not an expert in the area but from what I've seen in the past you
might want to look into using LaTex or something similar from the
command line. There might be a way to edit the PDF directly from PHP but
I wouldn't know where to tell you to start.
For that matter I'm not even certain
5 matches
Mail list logo