PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: PDF complete  (Read 1696 times)

Petrus Vorster

  • Senior Member
  • ***
  • Posts: 451
PDF complete
« on: December 27, 2017, 03:38:04 PM »

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.

Nathan Durland

  • Junior Member
  • **
  • Posts: 83
Re: PDF complete
« Reply #1 on: January 02, 2018, 08:53:32 PM »

Maybe PDFLib (, but it is pricey.

Anand Kumar

  • Little Newbie
  • *
  • Posts: 5
  • Senior Scientist
Re: PDF complete
« Reply #2 on: January 03, 2018, 12:28:51 AM »

This is LGPL license and a pretty extensive library.

Petrus Vorster

  • Senior Member
  • ***
  • Posts: 451
Re: PDF complete
« Reply #3 on: January 03, 2018, 01:40:31 PM »

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!