you're reading...

Generate documents and render them into PDF

Got an interesting problem to solve today.

An acquaintance of mine wants a solution in which we generate question papers for any test dynamically from a given set of questions (which might be stored in a database or something). They also want an answer-key generated out of the same, and the output format everywhere should be PDF.

Shailesh agreed to work with me on this. And when asked for a timeline for the solution, we went searching for a tool to generate PDF programmatically, and also it had to be free. Well, no one is paying us for this project, and we can’t pay someone else either! We came across a very helpful page, which contains a lot of links for PDF generation libraries http://www.geocities.com/marcoschmidt.geo/java-libraries-pdf.html.

One in the list caught my attention, FOP from the Apache Project (Me being an Apache fan always!). We are exploring the solution now, hopefully we will crack out something good out of it.


No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About Random Musings

Random Musings is a collection of my personal thoughts, opinions, views and anything else that I find interesting. The views posted here are mine and may not necessarily reflect the views of MindTree Limited (my employer).
%d bloggers like this: