Nil0 Posted January 26, 2007 Share Posted January 26, 2007 Hi php freaksI have searched google high and low for a way to split these letters by page, and all i get is topics about paging and print().What I want to do is find all the persons in my database that meet my conditions and then on the fly create an almost identical letter for each of them. My problem is that I don't know how to make shure that each letter gets printed on its own A4 paper.Hope that someone have had any experience with this. Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 26, 2007 Share Posted January 26, 2007 You could generate a PDF, that would probably be the easiest way to ensure the pages are the size you want. Quote Link to comment Share on other sites More sharing options...
Nil0 Posted January 26, 2007 Author Share Posted January 26, 2007 Thanks I guess you are right. I have no experience with pdf, but I found this http://www.fpdf.org/ which seems to make it quite easy. Already have a pdf output with logo. It has possibility to set papersize and add pages when I need it. NICE! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.