By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,984 Members | 2,832 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,984 IT Pros & Developers. It's quick & easy.

Printing reports

P: n/a
Hello.

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.
May 10 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
G0ng <hk******@softnet.tuc.gr> writes:
Hello.

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?


Sounds like it's going to be fairly simple html tables, so htmldoc
will do the job fine, it works on windows servers too, but you need
access to install applications on the server.

You can find it at: http://www.htmldoc.org/

Hope it helps.

--
Henrik Hansen
May 10 '06 #2

P: n/a
NC
G0ng wrote:

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.


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:

http://groups.google.com/group/alt.p...914bd0d0a120fc

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...

Cheers,
NC

May 10 '06 #3

P: n/a
NC wrote:
[snip]

http://groups.google.com/group/alt.p...914bd0d0a120fc Cheers,
NC

But can I insert images? And what about tables etc?
May 11 '06 #4

P: n/a
NC
G0ng wrote:
NC wrote:
http://groups.google.com/group/alt.p...914bd0d0a120fc


But can I insert images? And what about tables etc?


The example referenced above already has tables (that's how Word
formats mailing labels). As to images, RTF definitely allows you to
insert them into your document.

Cheers,
NC

May 13 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.