pagination when printing

Results 1 to 3 of 3

Thread: pagination when printing

  1. #1
    Join Date
    Dec 1969

    Default pagination when printing

    Is there any way to control the output of an ASP page to the printer? What I want to do is force the printer to count the end of a table as a page break, so that each table is printed on a seperate sheet. I've had a look at the onprint and onbeforeprint events but I can't see any way to use these to get the effect I need.

  2. #2
    Join Date
    Dec 1969

    Default RE: pagination when printing

    There's an FAQ somewhere on this site that tells ya how to place page breaks in the page... I don't know the number off the top of my head (ironically)

  3. #3
    Join Date
    Dec 1969

    Default CSS : page-break-before:always;

    &#060;style&#062;<BR>.break<BR>{page-break-before:always;}<BR>&#060;/style&#062;<BR>&#060;span class="break"&#062;&#060;/span&#062;<BR><BR>Can be added to any tag.<BR><BR>Also, I believe there are other rules that apply, like all tables must be closed before your break and things like that, but this is the tag you use.<BR><BR>-- Whol<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts