Hello friends,
I am using javascript function window.print to print a page. having a link on the page "print page"

It is working fine.
I need to set the print properties as default such as page format as "landscape" instead of portrait.

Secondly my page contents are on the full page. that way while printing the content goes outside the page. how can i set the page size ?

please help me to solve these problems

Thanks