Generate Dynamic PDF with pdflib

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
powerpoint
Forum Newbie
Posts: 1
Joined: Mon Jul 22, 2002 4:12 am

Generate Dynamic PDF with pdflib

Post by powerpoint »

Hi,

I've a problem generating pdf documents on the fly. This is
the environment:

PHP 4.1.2
PDFLib / PDI
Linux

I'm using PDI to use pre generated PDFs and fill in the user data
on the fly. Up to now this works superb. My client can change the
template with word or excel and generates a pdf-document using
adobe pdf-writer. I add my php classes and fill in the dynamic data.

Some specials. My client want to use "arial-narrow" which also worked
fine. But here is my problem, in some cases the output looks scrambled,
which mean the dynamic data is not printed correctly, some characters
are above each other etc. As I tested this depends also on the operating
system the enduser is using.

Could there be a problem with gdi memory under windows, or is this
a bug when generating? Any ideas welcome.

Matthias
Post Reply