This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes printing in landscape using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "printing in landscape using javascript" Watch "printing in landscape using javascript" New topic
Author

printing in landscape using javascript

Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

Is there any option using which i can control the printer setting using javascript. I want to print a page(jsp) in landscape and i want to control this option using javascript.


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
whenever browserssupport CSS3 you will be able to do it. Right now there is no way to control it. In IE there is ActoveX, but it is not a good solution.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: printing in landscape using javascript
 
Similar Threads
landscape orientation in html page
Printing Options
Flying Saucer Configuration File
change print settings through javascript
How to trap the URL