We are trying to move the printing of a report that used a pre-printed form on an impact printer to a laser printer. The goal is to programmatically generate the form with the information on the server side and send it as pdf to the client. For example, the application would dynamically generate certificates with a user's name and course taken.
An article posted at IBM developerworks shows how to create a pdf template with text anchors as placeholders that will get replaced at runtime with the information on the form (http://www-6.ibm.com/developerworks/library/pdfs/index.html
We are trying to use the above approach and we are thinking about using XSL, XSLT and XML for this approach. The pdf template would be an XSL document, with the dynamic information coming from a XML document.
Has anyone solved a similar problem? Do you see any issues with this approach? Are there any other types of solutions?