Connecting Tech Pros Worldwide Forums | Help | Site Map

Printing reports

G0ng
Guest
 
Posts: n/a
#1: May 10 '06
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.

Henrik Hansen
Guest
 
Posts: n/a
#2: May 10 '06

re: Printing reports


G0ng <hkosmidi@softnet.tuc.gr> writes:
[color=blue]
> 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?[/color]

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
NC
Guest
 
Posts: n/a
#3: May 10 '06

re: Printing reports


G0ng wrote:[color=blue]
>
> 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.[/color]

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

G0ng
Guest
 
Posts: n/a
#4: May 11 '06

re: Printing reports


NC wrote:
[snip][color=blue]
>
> http://groups.google.com/group/alt.p...914bd0d0a120fc[/color]
[color=blue]
> Cheers,
> NC
>[/color]


But can I insert images? And what about tables etc?
NC
Guest
 
Posts: n/a
#5: May 13 '06

re: Printing reports


G0ng wrote:[color=blue]
> NC wrote:
>[color=green]
> > http://groups.google.com/group/alt.p...914bd0d0a120fc[/color]
>
> But can I insert images? And what about tables etc?[/color]

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

Closed Thread