473,406 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

printing tables...

Hey guys,

I've got a page that has multiple tables (all same format, they just
contain diffrent information) and when u print that page the tables
get cut up and spread out on multiple pages. I've done my research
and it looks like it isn't impossible to print the tables properly
even when using CSS but I just need to make sure before I go tell my
manager he can't have what he wants....

so is there anyway to print the tables properly? And I dont want to
use "PAGE BREAK AFTER" because that is a waste of paper and it
wouldnt look right going into a meeting with 11 pages when all u
really need is 4-5pages (if there were multiple tables on each
page).

Thanks!

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 18 '05 #1
1 1476
No, you're correct. The only way to dictate this behavior is using the css
page-break properties. You could write some routines in script though that
try to determine how big the tables are that are being served, for example,
if table a is 10 rows and table b is 10 rows, then you can put a page break
after table b instead of between a and b. Of course, this works best for
dynamic tables so that you can get a good idea of number of rows as the page
is being generated.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"ProgramAnalyst" <al**********@scotiabank-dot-com.no-spam.invalid> wrote in
message news:41********@Usenet.com...
Hey guys,

I've got a page that has multiple tables (all same format, they just
contain diffrent information) and when u print that page the tables
get cut up and spread out on multiple pages. I've done my research
and it looks like it isn't impossible to print the tables properly
even when using CSS but I just need to make sure before I go tell my
manager he can't have what he wants....

so is there anyway to print the tables properly? And I dont want to
use "PAGE BREAK AFTER" because that is a waste of paper and it
wouldnt look right going into a meeting with 11 pages when all u
really need is 4-5pages (if there were multiple tables on each
page).

Thanks!

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Karl E. Taylor | last post by:
Could someone point me in the direction of a good example of coding report printing from database tables through VB? I have 5 tables that I need to run a report from. They are actually very...
7
by: Dennis C. Drumm | last post by:
I was wondering if someone could suggest were/how I could get started with setting up printing of a collection of text that includes tables from a grid and other supporting information about the...
1
by: Smitha Nataraj | last post by:
Hello, Please let me know if you have the solution for a similar kind of problem... Background: I have an aspx page which is used as a report i.e. will be used for printing some information....
8
by: CJM | last post by:
What is the best way to force a page break when printing from a browser? A page in my application generates a series of tables which are usually less than will fit on a page of A4. Ideally I want...
2
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default...
7
by: johnacooke | last post by:
The W3C added THEAD, TFOOT and TBODY elements to facilitate the printing of long tables, so that header and footer information could be repeated on each page. While I have seen this discussed...
1
by: popwhub | last post by:
I am having problems printing some reports from my application that are generated from temporary tables. The application has an Access FE and a SQL Server BE. The current method uses a temporary...
2
by: coldblood22 | last post by:
Well in my Application i am using the java Printable interface to print the GUI. The printing is done fine but once done with the printing my program breaks off with the database file without. Well...
18
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
1
by: Glenn | last post by:
I am writing a program for field work that will use a receipt printer. I need to be able to adjust the page settings prior to printing depending on how much needs to be printed. I have been able...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.