<p>We generate web pages that should always be printed in landscape mode. Web browser print dialogs default to portrait, so for every print job the user has to manually select landscape. It's minor, but would be nice for the user if we can remove this unnecessary step.  </p>

<p>Thanks in advance to all respondents.</p>

[{'answer_id': 37168, 'author': 'John Millikin', 'author_id': 3560, 'author_profile': 'https://Stackoverflow.com/users/3560', 'pm_score': 1, 'selected': False, 'text': '<p>The <code>@page</code> rule is supposed to allow this, but is only implemented in Opera.</p>\n'}, {'answer_id': 37183, 'author': 'Mark Brackett', 'author_id': 2199, 'author_profile': 'https://Stackoverflow.com/users/2199', 'pm_score': 3, 'selected': True, 'text': '<p>A quick Google indicates that it\'s not really supported. There\'s more than a few folks out there trying to <a href="http://www.daniweb.com/forums/showthread.php?t=14877&amp;page=2&amp;highlight=javascript+print+landscape" rel="nofollow noreferrer">hack</a> <a href="http://home.tampabay.rr.com/bmerkey/examples/landscape-test.html" rel="nofollow noreferrer">their</a> way to it - but I\'d strongly suggest just rendering a server side PDF instead.</p>\n'}, {'answer_id': 37269, 'author': 'Jason', 'author_id': 1072, 'author_profile': 'https://Stackoverflow.com/users/1072', 'pm_score': 2, 'selected': False, 'text': '<p>Possible in <a href="http://www.w3.org/TR/CSS2/page.html#page-size-prop" rel="nofollow noreferrer">CSS2</a> (@page, looks like <a href="http://www.webdevout.net/browser-support-css#css2propsprint" rel="nofollow noreferrer">Opera only</a>) and in <a href="http://www.w3.org/TR/css3-page/#page-size-prop" rel="nofollow noreferrer">CSS3</a> which will work <a href="http://www.webdevout.net/browser-support-css#css3propsprint" rel="nofollow noreferrer">nowhere</a>. Sorry.</p>\n'}, {'answer_id': 1395735, 'author': 'mingala', 'author_id': 80306, 'author_profile': 'https://Stackoverflow.com/users/80306', 'pm_score': 0, 'selected': False, 'text': '<p>I was looking to do this same thing and found <a href="http://edacio.us/forum/comments.php?DiscussionID=39" rel="nofollow noreferrer">this</a> article. It looks particularly "hacky" and as the author points out, may invoke an active x warning in IE. Seems like a losing proposition to confuse the user with an active x warning when they just wanted to print a web page.</p>\n'}]
['https://Stackoverflow.com/questions/37162', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3915/']