Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print whole information with scrolledbar control

Status
Not open for further replies.

jimmyweb

Programmer
Dec 9, 2004
37
US
Hi friends,

I have an html page, which have table with scrollbar. When I click print icon on browser,
It only prints a part information display on the screen. But we need to print all information in table, which can see by using scrollbar. How to print whole information by print function ? do we have any way to do this requirement on web side? There are not framset in this page.

Thanks for any help with code example

Jim
 
Would opening a new window, writing the contents of the table to it, printing it, and closing the window be an option?

--Chessbot

There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.
 

I would use a separate print CSS file which displayed all of the tabular information for printing, but with scrollbars for screen display.

If you need more information on this, I'd ask in the HTML/CSS forum.

Hope this helps,
Dan
 
Dan,
this page consist of 3 section( 3 tables) for a report. Users like to print report information includ undisplay by scrollbars control.
Chessbot, it is not only print a scrollbar table. we need to print whole page as a report.
Hope i can get some example code from you and friends.
nice weekend.

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top