?
Solved

Printing tables without any cutting...

Posted on 2003-03-28
8
Medium Priority
?
156 Views
Last Modified: 2012-05-04
How can I tell the printer(s) that prints a page with a long table when to stop. I cuts row after row after row... I want it to print rows not rows and a half. I also want want the frist to rows to print on top of every page. Is there a way to tell where exatly a printer will print? Becouse I confused everyone in chats I'll try my best to show what I mean...

I don't want:

Page 1 ------------------------------------------------------------
               Example:
               ==================
               | Top of table             |
               ---------------------------
               | Item 1                       |
               | Food                         |
               ---------------------------
               | Item 2                       |
Page 2 ------------------------------------------------------------
               | Drinks                      |
               ==================

I want:

Page 1 ------------------------------------------------------------
               Example:
               ==================
               | Top of table             |
               ---------------------------
               | Item 1                       |
               | Food                         |
               ---------------------------

Page 2 ------------------------------------------------------------
               ---------------------------
               | Top of table             |
               ---------------------------
               | Item 2                       |
               | Drinks                      |
               ==================


I hope I gave enough info becouse I just used all my points!
Help, please!
0
Comment
Question by:zavaboy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 100 total points
ID: 8226530
you could add a header and a footer to your table:

<!-- the following row will be at the top of each page -->
<THEAD STYLE='display: table-header-group'>
<TR HEIGHT=20>
<TD valign=middle align=center>HEADER</TD>
</TR>
</THEAD>

<!-- add other rows here -->

<!-- the following will be at the bottom -->
<TFOOT STYLE='display: table-footer-group;'>
<TR>
<TD>FOOTER</TD>
</TR>
</TFOOT>
0
 

Author Comment

by:zavaboy
ID: 8226634
Ok, if you can tell me how I can keep printers from cutting off rows then I'll accept your comment as a answer.
0
 

Author Comment

by:zavaboy
ID: 8226745
Ok, if you can tell me how I can keep printers from cutting off rows then I'll accept your comment as a answer.
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

Author Comment

by:zavaboy
ID: 8226749
Ok, if you can tell me how I can keep printers from cutting off rows then I'll accept your comment as a answer.
0
 

Author Comment

by:zavaboy
ID: 8226760
What the?! humm...
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 8226840
if you add a header and footer, it shouldn't cut off the rows you have in between.
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 8226843
these lines are important though:
STYLE='display: table-header-group'

and

STYLE='display: table-footer-group'
0
 

Author Comment

by:zavaboy
ID: 8226864
Oh, I guess I didn't notice that at first (now I'm thinking DUH!)... Anyway... Your answer was great so...
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question