I just sent a post yesterday on how to get this to work. I does work well.
Here is the post I sent yesterday:


Try using the new pdflib-4.0.0 .... It works great.
Here is what you have to do:

Goto: http://www.pdflib.com/pdflib/download/index.html

and download the source for unix.

Unzip and untar.

cd to pdflib-4.0.0/bind/php/ext/pdf

copy * php-4.0.4pl1/ext/pdf --- You may want to remove the current contents
of this directory first...

cd pdflib-4.0.0
configure --enable-php
make - you will get an error indicating that a makefile was not found ...
just ignore it.
make install

Link the newly created libraries to the /usr/lib directory:
ln -s /usr/local/lib/libpdf* /usr/lib

Next just rebuild PHP as normal only add --with-pdflib.

Have fun...


Dean



-----Original Message-----
From: David Bouw [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 6:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PDFlib 4.0.0.... any experiences..


Hi there,

Months ago I had a bad time getting PDFlib 3.0.0 to compile with PHP.. After
I succeeded I was so glad I promised myself to never touch it again.. :-)

Well, I now have a barcode font which I need to embed into a PDF document..
I did this a long time ago, but have forgotten what the exact settings were
that I used to accomplish this...

With some searching I suddenly saw that PDFlib 4.0.0 was available.. !! When
I looked at the documentation I got a tinteling feeling in my stomach..
Finally the package comes with all the Tif/Png etc libraries which you first
had to download seperately and try to compile with PDFlib.. Further this
package has also been adapted to PHP (they even talk about it in the
manual!!!) and it seems that you can also load the pdf as some kind of
library when starting the script via the 'dl' function.. ( which I don't yet
have any experience with..)

My question: Who has got some experience with this..? I grabbed a tarball of
php-4.0.4pl1 and pdflib4.0.0..
Compiled both and tried to load the library via de dl option.. PHP can't
seem to find this..

I am now busy to try and do it the old way and compile PHP with the PDFlib
option enabled..
(did copy the /ext/pdf directory from pdflib to my php!)
But if possible I would rather use the option in which the library is loaded
into PHP as an library.. Speed isues aren't important, I want an easy and
flexible way the change PDFlib versions without needing to recompile
anything..
I also read that this was possible with the GD library..

I will be glad if I can hear anyone with some experiences with this new
PDFlib.. I look forward getting this to work!

Thanks in advance..
With kind regards
David Bouw


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to