3

I need to automatically save pdf form fields to a database and write some of them later to new forms I am sending out. I can save the fields no problem but I don't know how to write to a PDF form field .. I am using pdf miner but I can't find anything in it to do this. Can any one point me in the direction of a solution?

1

2 Answers 2

1

Reports labs has a open source PDF kit that let you write PDFs, including form fields http://www.reportlab.com. They also have commercial product the reads PDFs. But I've only used the open source version.

Sign up to request clarification or add additional context in comments.

Comments

0

I've never used it, but people seem to like PyPDF

2 Comments

Both PyPdf and ReportLab are good. I'm traveling at the moment, and don't have the opportunity to answer this question fully. I want to make a couple of points for now, though: Philip, if you're still looking for help beyond the references already supplied, say so, and we'll provide more details. Also, I want readers to know that we've recently begun advancing a fork of PyPdf, with Mathieu's blessing. While it has a long way to go, it already includes several enhancements. I'll have more to announce soon.
That first sentence was supposed to be, "Both PyPdf and ReportLab are valuable; both have limits"; apparently I messed up the edit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.