Jump to content

printing a web page from another page

Guest golden-beach

Recommended Posts

  • 3 months later...

<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

  • 4 weeks later...
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,

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...