I need to do a few things in one javascript solution.
- Must first detect the IE browser version (this I can do myself)
- Must use javascript to take a screenshot of the active page.
- Must print the screenshot that javascript just took.
I just cannot figure out how to do #’s 2 and 3. I have looked at the other articles about #2 on StackOverflow, but they all save an image, and I want to print it.
You cannot capture a screenshot of the browser, using JS alone. To print something, you should invoke window.print(), on the window containing the things you want printed.