This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.