How to get print screen data
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/757675/website-screenshots-using-php">Website screenshots using PHP</a><br>
  <a href="http://stackoverflow.com/questions/6333814/how-does-the-paste-image-from-clipboard-functionality-work-in-gmail-and-google-c">How does the paste image from clipboard functionality work in Gmail and Google Chrome 12+?</a>  </p>
</blockquote>



<p>Is it possible to get print screen data on JavaScript or in PHP? I've seen this feature in Gmail before wherein I just press print Screen or copy an image to clipboard and when I press ctrl + v it automatically paste the image on the body of the email.</p>

<p>I'm trying to do this on Gmail now but I can't make it work(I wonder why, maybe the browser that I'm using).</p>
