Click to See Complete Forum and Search --> : printing in landscape format


ctmas
December 7th, 2003, 05:48 AM
hi all,

does anyone know how to print html page in landscape format using window.print () method ??. i like to set the page property throug scripting ...


for eg.
<input type = button id=btnprint onclick=print()>

on clicking in this button i want to set the page format to landscape... is it possible ??..

thanks
ctmas........

AJMartin
December 7th, 2003, 10:56 PM
Originally posted by ctmas
hi all,

does anyone know how to print html page in landscape format using window.print () method ??. i like to set the page property throug scripting ...


for eg.
<input type = button id=btnprint onclick=print()>

on clicking in this button i want to set the page format to landscape... is it possible ??..

thanks
ctmas........

These posts might be helpful:
http://www.webmasterworld.com/forum83/1736.htm

And this page could be helpful:
http://www.w3.org/TR/css-print/