I need to create a invoice for printing. The paper I'm going to use for printing has pre-printed fields for OCR-information and adress. I have to create
a A4-sized page where I place all the information in fixed postions and I want to be able to export it to PDF and/or PS,PCL.
I have done a lot of research but haven't found any easy way of doing it. The two different techniques I've been mainly thinking about are:
- FOP (http://xml.apache.org/fop/)
I don't know that much about XML but it seems quite good when it comes to structuring the data but formatting the data seems like a time-consuming task.
Are there any WYSIWYG tools for making the XSL files? Anybody have any experience with FOP? Does it work well (being a java app)?
- PDFlib (http://www.pdflib.com/)
This library seems to be quite good. Anyone have any experience with coding PDF-documents using this library? Anyone know if it will be time-consuming
to code all the the content?
Here's what the OCR fields look like: http://www.bankgirot.se/extweb/home.nsf/ByKey/blanketter/$file/BG1344.pdf
As you see my real problem is the formatting of the data not gathering and organizing the data. Anyone have a suggestion for a different technique than
the two described above?