Click to See Complete Forum and Search --> : Print current screen in IE


dhy
11-28-2002, 09:54 PM
Would you please advise me on the following.

I have a web page with two frames: upper frame and lower frame.

I would like to have a link on the upper frame that invokes a javascript to print the current screen on ONE page. But it doesn't work when I using the following script:

function GoPrint_FAI()
{

window.top.focus();
window.print();

}

This script gives me two-pages printout. One for upper and one for lower frame. But I want the upper and lower frame to be printed on ONE page. Please HELP! Thanks a lot!

dhy
11-29-2002, 07:22 PM
Dear Dave,

Thanks for your reply. Regarding the situation described, can I set the "Print Frames" to "As laid out on screen" in the print dialogue box using javascript?

regards,
dhy.