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 page in landscape without changing preferences. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "printing page in landscape without changing preferences." Watch "printing page in landscape without changing preferences." New topic
Author

printing page in landscape without changing preferences.

Prathyusha Reddy
Ranch Hand

Joined: Jan 20, 2010
Posts: 31
I would like to print a Web page in landscape mode. When I use window.print() function it prints default in Potrait mode.

I need to print the Web page in Landscape mode with out asking the user to change the setting.

Thanks in adavance..
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
It can not be done in the current state of the web. With CSS3 it is able to be specified.

Eric
Harish Muthuraman
Greenhorn

Joined: Jun 10, 2010
Posts: 11
Even i have the same issue.. can some one please help me with this. can you suggest me with alternatives?


With Regards
Harish M
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: printing page in landscape without changing preferences.
 
Similar Threads
Printing in Landscape
Printing or rendering in landscape format
Using CSS to default print style to landscape
change print settings through javascript
Printing from a jsp page- java attributes...?