This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes How to Print Web page Landscape using JAVAScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to Print Web page Landscape using JAVAScript" Watch "How to Print Web page Landscape using JAVAScript" New topic
Author

How to Print Web page Landscape using JAVAScript

ShreyasAp Patel
Greenhorn

Joined: Jul 17, 2009
Posts: 1
HI Friends

I want to print One Webpage of 2 page print.
I want to print first page portrate and second page Landscape.

How to make it posible using JAVA Script ?
Or CSS ?

Thank's
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
There is no real way to force it in browsers. CSS3 does have the ability to specify it in landscape mode, but CSS3 support is limited.

Eric
 
 
subject: How to Print Web page Landscape using JAVAScript
 
It's not a secret anymore!