• Welcome to PlanetSquires Forums.
 

PDF complete

Started by Petrus Vorster, December 27, 2017, 03:38:04 PM

Previous topic - Next topic

Petrus Vorster

Hi All

I have tried to write PDF documents with code.
Its really easy using Richards pdf class, but there is a standard form we use that is so darn complex and with a million little boxes that it is impossible to write with code.

I was wondering since i can create PDf documents with User-complete fields in Adobe acrobat, of there is a way to programatically open the PDF form and complete the fields from my data?
Or use the form as a type of background in a pdf and just add text on top?

Any ideas would be very helpfull.

Regards- Peter.
-Regards
Peter

Nathan Durland


Anand Kumar

This is LGPL license and a pretty extensive library.

https://sourceforge.net/projects/podofo/
An&

Petrus Vorster

Thanks guys, but i realised i actually answered myself in my question.

I simply used a Print to JPG tool and saved the form as an image.
Then it was very simple.
Richard's PDF class loads the JPg very fast and then i simply prite text on top of it.

Its about 5 times faster than my previous tool.

Thanks again for the advice!

-Peter
-Regards
Peter