Guest golden-beach Posted December 20, 2005 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, Link to comment Share on other sites More sharing options...
vinphetamin Posted April 7, 2006 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>? Link to comment Share on other sites More sharing options...
Belzar Posted April 30, 2006 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. Link to comment Share on other sites More sharing options...
jojay Posted May 11, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now