Print a page?

liunx

Guest
Can anyone tell me how to Print a page from a standard HTML link.<br />
<br />
thanks<!--content-->PRINT PAGE<br />
<script language="JavaScript"><br />
<br />
<!-- This script and many more are available free online at --><br />
<!-- The JavaScript Source!! <!-- m --><a class="postlink" href="http://javascript.internet.com">http://javascript.internet.com</a><!-- m --> --><br />
<br />
<!-- Begin<br />
if (window.print) {<br />
document.write('<form> '<br />
+ '<input type=button name=print value="Print Page" '<br />
+ 'onClick="javascript:window.print()"> </form>');<br />
}<br />
// End --><br />
</script><br />
<br />
:rocker:<!--content--><a href=http://www.htmlforums.com/archive/index.php/"javascript:window.print()">Click here to print this page</a><br />
<br />
Make sure u put 'javascript' as one word and not as 'java script'.<!--content-->how about: <br />
<a href=http://www.htmlforums.com/archive/index.php/"#" onclick="window.print()">Print page</a><br />
<br />
:)<!--content-->
 
Back
Top