Guest golden-beach Posted December 20, 2005 Report Share Posted December 20, 2005 hi all...i'm wondering if i can print a web page from another web page, can this be done using window.print()?b. rgds, Quote Link to post Share on other sites
vinphetamin 0 Posted April 7, 2006 Report Share Posted April 7, 2006 <a href="print.asp" target=_blank>test</a>print.asp:<body onload="print();window.close();" style="margin:0;"><p><iframe name="I1" src="http://www.yahoo.no" style="width:100%;height:100%" marginwidth="1" marginheight="1" scrolling="no" border="0" frameborder="0">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe></p></body>? Quote Link to post Share on other sites
Belzar 0 Posted April 30, 2006 Report Share Posted April 30, 2006 hi all...i'm wondering if i can print a web page from another web page, can this be done using window.print()?b. rgds,<{POST_SNAPBACK}> Hi there, I just wrote an easy code earlier today that could help you.<body><script type="text/vbscript"> url= "http://www.google.com"document.write(url)location.href=url</script></body>Give that a try, it worked well for me. I hope it does what you need too. Quote Link to post Share on other sites
jojay 0 Posted May 11, 2006 Report Share Posted May 11, 2006 Hi there, I just wrote an easy code earlier today that could help you.<body><script type="text/vbscript"> url= "http://www.google.com"document.write(url)location.href=url</script></body>Give that a try, it worked well for me. I hope it does what you need too.<{POST_SNAPBACK}> The code looks good but it looks like redirect in javascript. I might be wrong. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.