aspose 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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: printing page in landscape without changing preferences.