Click here to Skip to main content
15,935,259 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everybody,

I'm trying to write a script which permits me to print a webpage in landscape mode without changing options in print-preview.
My webpage will be loaded with internet explorer 8.
The webpage is automaically created by a process.

I still try to use css (but it doesn't work with internet explorer)

If someone knows how to automatically print a webpage in landscape mode, I will be glad to see how to do that.

Thanks for your answers.

Best Regards.

Updated 29-Mar-11 6:54am
Dalek Dave 29-Mar-11 12:54pm    
Edited for Spelling and Grammar.
Jonathan Cardy 29-Mar-11 14:32pm    
I don't think there is going to be a quick fix. Your best bet is to continue on your CSS solution, but make it work in IE, of course.

1 solution

I found this on CP Using CSS to force Landscape printing in IE[^].

I hope this will solve your problem!

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900