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 post
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 post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...