Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Printing reports
May 10, 2006, 8:41 am
rate this thread
I 've developed an application for secretaries in universities so as to
save the student's data, grades, etc.
One last thing I have to do is print some reports. For example all the
grades of a studentin his 4 year studies.
I think I shouldn't stick to html, because I want to manipulate the
pages as I please. I thought of making a pdf but it's not that easy.
I have seen HTML_2_PDF which uses html2ps but since the web app will be
located in a window server I leave it out.
any other suggestions?
thanks a lot.
Re: Printing reports
So if you want to manipulate content as you please, why do you choose
PDF, which is kind of difficult to manipulate once it is created? You
should consider generating content editable with a word processor. I
have had some luck with RTF (which is a format many popular word
processors understand). Here is a post I wrote to alt.php back in 2003
exaplaining how to create RTF mailing labels with PHP:
Your case is not much different; only instead of mailing labels, you
need to create a transcript. The general idea still applies though;
you have a document with a header, one or more rows of data, and a
footer. Creating a template and populating it with data from a
database shouldn't be difficult...