aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Print the Applet Page  using java script or Html Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Print the Applet Page  using java script or Html" Watch "Print the Applet Page  using java script or Html" New topic
Author

Print the Applet Page using java script or Html

rama krishnan
Ranch Hand

Joined: Mar 14, 2008
Posts: 68
How to print JApplet Page using Java Script or HTML

Using the window.print I can able to print the html page,
but I can't able to print the JApplet Page in the browser


MRK
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35443
    
    9
What do you mean by "can't able to print"? Are you saying that if you print the HTML page the applet area is not printed?

If you want to print just the applet (without the surrounding HTML page), then you can use JavaScript to call a method in the applet that causes it to print itself. Note that the applet will need to be signed to be allowed to do this.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Print the Applet Page using java script or Html
 
Similar Threads
How to Print Web page Landscape using JAVAScript
Print the Applet Page
Java App failed to run
printing of html link
Printing HTML page using Java Print Service API by converting to Postscript