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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Printer-friendly page?

Status
Not open for further replies.

j420exe

MIS
Feb 17, 2002
28
US
I am displaying all the contents of a database table in an ASP page. The table has 30 columns. If the users presses the browser print button its 'ugly'.
How can I display the page in a "Printer-friendly page" format? Or is this even possible because of the amount of data being displayed from the database?
Thanks.
 
with 30 columns, it's extremely hard to get something that prints out well. I would suggest telling the user to print the document in landscape, and hope for the best.
leo

------------
Leo Mendoza
lmendoza@garbersoft.net
 
You could try a fixed with table and size the fields down...

<table style='table-layout:fixed' width='600'>
<col width=60><col width=10><col width=30>
<TR> ....

I use this for our intranet reports and yet to have
a problem. if you need to add page breaking
you can add : <P CLASS='PageBreak'><BR></P> You have to end the table before the page break and then restart the table....

HTH
Corey


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top