Groovy - need to make a printing plate

I probably need help by type, since I mean a paper letter form, not an HTML element. I have this PDF form that I send to all users after using my site, and I need to manually enter a couple of fields that the database knows. I am looking for a good method to Groovy do a PDF or something like that.

What I will try: Make the form in Word, save it as XML, put the XML as a Groovy String and $ {someVariable} wherever I need to fill out. Open XML in Word and then print as PDF.

Is there a better way? I have Acrobat, but if there is a way without it, it's even better.

I ran into a problem that I ask as a separate question, so get ready for the link. UPDATE: Groovy says my Unicode string is too long

iText is not an option until they come back to me. Re: licensing, which also excludes the plugin Jared mentions (it is based on iText).

Apache seems to be as hard to learn as my rubed spool ...

0
source share
1 answer

I have not used this, but I will look at the PDF plugin. It looks like you can create a standard grails view containing the information you want and generate a PDF from it. I wish I used this for my PDF generation needs.

+1

All Articles