I work on a web-based tool where we offer customized prints.
Currently we build an XML structure with Java, feed it to the XMLmind XSL-FO Converter along with customized
You can take a look at a new library called jRTF. It allows you to create new RTF documents and to fill RTF templates.