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

how do you force a page break in Netscape

Status
Not open for further replies.

randall2nd

Programmer
May 30, 2001
112
US
I am displaying sevral lists of items on a page.
Which is how I want the page to be displayed.
However when the user hits print,
I need each list to be printed on a seperate page
Breaking the page up into smaller pages is not an option.

In IE this does the trick:
<p style=&quot;page-break-after:always&quot;>

However I cannot get it to work in Netscape.
I have Netscape version 4.75.

Does anyone:
--know of a way to get this to happen in v4.75?
--know if this way works in Netscape 6.0?
--know of a way to get this to work in Netscape 6.0?

anyhelp or advice is appreciated. :) Randall2nd
 
I've gotten this to work by embedding an ascii page break character in the page itself. It doesn't display, but it did cause the printer to do a page break. For all those who didn't start with DOS, you can enter a page break character by holding down the Alt key and typing 012 on the numeric keypad. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Tracy,
Thanks for the response.

Unfortunately, I have not been able to get it to work.
I held down the ALT button and pressed 012
Nothing happened.
I reloaded the page in Netscape and printed it off.
All of it came out on one page.
Did I not do it right?

Either way I am not getting it.

Could you break out the crayons, and tell me exactly what you are doing.

Thanks. :-> Randall2nd
 
You have to hold the Alt key down while you press 0 1 2 on the NUMERIC KEYPAD. It won't work with the numbers on the top row of the keyboard. You also need to make sure that you have NumLock ON. You should get the female symbol. If it still doesn't work, try doing it in a plain ascii text editor, and then cut-and-pasting it. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
I did ALT+(0 then add the 1 then add the 2)

this works in MS-Word, but I am unable to get it to work anywhere else. I do not ever see the female symbol (i just get the page break in Word). -gerrygerry
Go To
 
MS Word isn't a plain ascii text editor, so it probably converted the page break character into it's own page break. You need to use a plain ascii text editor to make it work, and even then I can't guarantee anything. It's an old DOS trick that I think most printers still recognize, but it may be completely outmoded by now. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Tracy,

I can not find a free plain ascii text editor for download.

What plain ascii text editor are you using, and where can i get it at? Randall2nd
 
I use an editor called EditPlus ( It's not plain, it does a LOT of cool things, but it WILL allow me to enter the page break, but even it doesn't display it normally, just as an &quot;unprintable&quot; character. It's still the correct character though. Surprisingly, even the DOS editor &quot;edit&quot; doesn't allow you to use the Alt-012 technique. I guess it's pretty outdated. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top