Changing page orientation

subbulakshmi
05-17-2002, 06:49 AM
Hi all,

In the browser window, if i give print, by default the page orientation is
portrait. I should set it as landscape programmatically. Is it possible?
I should not get the page/print setup dialog box. I should set it programmatically. like window.printorientation ...


thanks in advance.

Derek Stone
05-17-2002, 01:15 PM
http://www.w3schools.com/css/css_ref_print.asp

Good Luck
-CL

subbulakshmi
05-17-2002, 09:59 PM
hello CL,

Thanks for your reply. I went through the site which u gave. But there nothing is given for changing the printing orientation. It was given the settings like page break etc., So can you please eloborate?

Derek Stone
05-18-2002, 10:34 AM
Take a look at the size property:


Description:
size sets the orientation and size of a page

Values:
auto
portrait
landscape


Good Luck
-CL

subbulakshmi
05-19-2002, 09:36 PM
I had set the size property also. but the site says that browsers IE and netscape would not support that.

what can be done on this.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum