Forum Moderators: open

Message Too Old, No Replies

Performing a print screen

         

pithhelmet

2:21 am on May 12, 2004 (gmt 0)

10+ Year Member



Hello everyone -

I would like to use the form print from javascript...

what is the javascript to perform this operation?

thanks
tony

sidyadav

8:27 am on May 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not sure if this would help, or if this is what you mean, but I found this:

[tek-tips.com...]


<html><head>
<title>Print Screen</title>
</head><body>

<table cellpadding="0" cellspacing="0" width="650"><tr>
<td>
<script language="javascript">
var pageText = window.opener.parent.document.getElementById
("printableArea").innerHTML;

document.write (pageText);
</script>
</td>
</tr></table>

</body></html>


Search for it at Google. I found thousnads of results.

Sid

pithhelmet

4:56 pm on May 12, 2004 (gmt 0)

10+ Year Member



that was it!

many many many thanks

sidyadav

12:43 am on May 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



no problemos :)

Sid