How do I print HTML Table content?

I want to print HTML Table which is a part of window, with specified
width and height along with scollbars to scroll thru table data.
I create this table at run time.
I can not use any ActiveX control or create a temp file on local
machine, due to security reasons.
I am interested in printing the entire table data
instead of just printing the window which shows only partial data.
Is there any way to do so?