Re: [PHP] PHP and the PDFlib

2002-12-02 Thread Morgan Hughes
On Sun, 1 Dec 2002, Ryan Smaglik wrote:

 Has anyone found any other means of opening an existing pdf file and adding
 text to it?  The only thing I could find is the  PDI + PDFlib commercial
 combo which I do not have the $1000 to dish out right now...
 Any Ideas?

  While the PDFlib/PDI combo is the only way that's actually been stated
  to work...  It bears remembering that PDF files are modified Postscript,
  and tools to convert PDF to/from Postscript do exist.  Perhaps you can
  build something by converting the PDF to PS, which should be text you
  can read and manipulate, then convert back to PDF.  The utilities I'm
  thinking of are ps2pdf and pdf2ps, which seem to be part of the
  Ghostscript package and ship with most Linux distros...

  Hoep this helps!

-- 
   Morgan Hughes
   C programmer and highly caffeinated mammal.
   [EMAIL PROTECTED]
   ICQ: 79293356



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP and the PDFlib

2002-12-02 Thread Marco Tabini
Take a look at the iText library--it's a Java library, but you can build
your Java classes and then instantiate them through PHP by executing
them as external apps.

That's what we use to personalize copies of our magazine.


Marco

-- 

php|architect - The magazine for PHP Professionals
The monthly worldwide magazine dedicated to PHP programmers

Come visit us at http://www.phparch.com!

On Sun, 2002-12-01 at 21:58, Ryan Smaglik wrote:
 Has anyone found any other means of opening an existing pdf file and adding
 text to it?  The only thing I could find is the  PDI + PDFlib commercial
 combo which I do not have the $1000 to dish out right now...
 
 Any Ideas? 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php