So you hear your boss or client say, I want my reports in “Excel and/or PDF,” and you think, “crap, now I gotta go find a library for my language.” And the requester isn’t often thinking about how much $$$ when they mention they want pdfs. So I had this same experience at UALR and I didn’t know the first thing about constructing pdf files. Thankfully, I found a free (with open source projects) Pdf library for Java called iText and within a day was able to construct a decent looking pdf file.
Here are some examples which enabled me to rapidly create my pdf reports. Specifically these two (1) (2) were helpful to me. You can see my PdfHelper here in subversion. The coolest part I think is the percentage bars I made without having to create images - I just use spaces and two contrasting colors to keep it simple.