You are here: Re: [PHP] Editing PDF « PHP « IT news, forums, messages
Re: [PHP] Editing PDF

Posted by hitek on 05/10/05 20:10

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 Smith <php@itab.com>
> Date: 2005/05/10 Tue AM 08:36:13 EDT
> To: PHP <php-general@lists.php.net>
> Subject: [PHP] Editing PDF
>
>
> 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<</Length 5586/Filter[/ASCII85Decode/FlateDecode]>>stream
> 8;X-DgMYb:(An746bc%oU,Mo*S<nfn`(:.P:CnHNZLL%2;CCTp,!@2g_u'+2VqIkV
> -$2%Ipq]A
> aoW>]"SN?epNo...
>
> That is, not in plain text.
>
> If I wanted to add text to the PDF, e.g., Mr. Jones, where the heck would it
> go and what would it look like?
>
> Thanks
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация