This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
As per the requirement I supposed to show a report in html page with a print option. I want the report to be printed automatically by clicking the print button without having the user to change "page setup" - "orientation".
How do I control the page to be printed landscape, when print button is clicked.
This question is asked once a week and there is no way to do it with the current browsers. Future versions should use a CSS property to determine it. Right now you only safe bet is to use a pdf for them to print out.