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 printing in landscape using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 1803
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
OCAJP Mock Questions
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: printing in landscape using javascript
 
Similar Threads
change print settings through javascript
Flying Saucer Configuration File
Printing Options
How to trap the URL
landscape orientation in html page