I need to do a few things in one javascript solution.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.