PDA

View Full Version : Print Landscape


ugly
02-19-2004, 10:42 PM
Hi

I want to print html content(vatever in the screen)landscape everytime when user clicks print button on my page.is there anyway we can do using javascript.i am doing .net application.

thanks

glenngv
02-20-2004, 04:54 AM
No. Javascript has no access to browser settings. Imagine if it can. Just instruct the user to print the page in Landscape.

Roy Sinclair
02-20-2004, 03:36 PM
Using style sheets you can specify that a physical page is to be printed in landscape orientation. It's just to bad that none of the browsers out respect that yet.

Put it in there anyway, one of these days maybe you'll have a user with a browser that does as it's told, meanwhile you'll have to resort to less useful ways to get the user to manually change to landscape.