Click to See Complete Forum and Search --> : Printer Escape Code for Eject


atortega
05-23-2005, 04:32 AM
Hi,

Is there any way that we can include a printer escape code for eject to the html page so that when we issue a javascript:window.print(), it will eject on that portion and start a new page.

If it is possible, how?

Can you also give any alternative method on how to do this

phpnovice
05-23-2005, 11:45 AM
CSS can handle page separation -- no JavaScript required. And, BTW, other than CSS, there is no other reliable way to achieve page separation.

atortega
05-23-2005, 08:53 PM
Thanks. Your right. I found it in css. It really helps a lot.

phpnovice
05-24-2005, 12:29 AM
Yep, also discussed here: http://www.webdeveloper.com/forum/showthread.php?t=67074