File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
*
The moose likes HTML, CSS and JavaScript and the fly likes snap shot of web page with JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "snap shot of web page with JavaScript" Watch "snap shot of web page with JavaScript" New topic
Author

snap shot of web page with JavaScript

Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

Hi friends,
I have designed a page, kindly a dashboard which is driven internally with JSP and ajax, some html tags, tables etc, This page includes flash charts "swf" files.
I need to take a snap shot of the complete webpage by using JavaScript , i am stuck up here for the snapping of whole page, is there any way to proceed with javascript api ? so that i can take the snap shot of the whole webpage and save as a PDF (Adobe) file or a JPEG ?

Please Assist,


Regards, Atul.
I came to this world on a Learner's License
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript doe snot have the ability to take a screenshot of the page.

Eric
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

Eric Pascarello wrote:JavaScript doe snot have the ability to take a screenshot of the page.

Eric



any other way to do?? i want to invoke the snap on click of a button, which would be placed on the page.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42952
    
  73
Why can't the user use the screenshot facilities that is built into the operating system?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You would have to use an applet or some other clientside language that has the ability to do it. I do not know how to do it in those languages so I am no help there.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: snap shot of web page with JavaScript