First of All, please excuse my poor english, I'm a Brazillian and it's not so good...
On the past few weeks I've been developing a Database Driven Web App. On this app I had to export my data to Excel (that I managed to do changing the headers), PDF for Label exporting (That I did with PDF_Label for FPDF), But now I have to export my data in some sort of "book" format. For printing, cutting, and stapling, and I don't have any idea of how to do that export...
I have this model of book for names/phones/addresses:
www.nadaonline.net/templatemirante-8gempty.xls
My data should be in that format. So when it gets printed and cutted everything is in the right place. But I don't know what to use to make everything be on the right place... Don't even know in wich format it should be (PDF? XLS? DOC? RTF?) If I have a way to do some kind of template telling exactly in mm or cm where my "prints" of data will be, I could do it... But I don't know how O.o I even tryed to do on FPDF, but I couldn't use it. For excel exporting I still have no Idea on how to set margins and the right spaces... Does Excel accepts <img>s?
I searched whole google for some tutorial or script that could teach me something that looks like what I need... But I couldn't Find it... I don't know if it's because I don't know what to search for (In English) or if there really isn't a way to do it... ;[
My question is, do you guys have any idea of how I can adjust my data to this format? Using some class? What format it should be? XLS, Doc, PDF, RTF? PS?
Thanks
Daniel Nascimento