<p>I'm just curious how most people make their ASP.NET pages printer-friendly? Do you create a separate printer-friendly version of the ASPX page, use CSS or something else? How do you handle situations like page breaks and wide tables?</p>

<p>Is there one elegant solution that works for the majority of the cases? </p>

[{'answer_id': 46724, 'author': 'Ryan Farley', 'author_id': 1627, 'author_profile': 'https://Stackoverflow.com/users/1627', 'pm_score': 5, 'selected': True, 'text': '<p>You basically make another CSS file that hide things or gives simpler "printer-friendly" style to things then add that with a <code>media="print"</code> so that it only applies to print media (when it is printed)</p>\n\n<pre><code>&lt;link rel="stylesheet" type="text/css" media="print" href="print.css" /&gt;\n</code></pre>\n'}, {'answer_id': 46728, 'author': 'Alexander Morland', 'author_id': 4013, 'author_profile': 'https://Stackoverflow.com/users/4013', 'pm_score': 0, 'selected': False, 'text': '<p>I am a php user, but the point must be that the result no matter what is HTML and HTML is styled with CSS and there is an option for your style sheets  for just using the style for printing. This should be the way to do it, imho. About big  tables, there isnt really a magic "fix" for that. Page will break where it breaks, dont really understand the problem here either. </p>\n\n<pre><code>&lt;link rel="stylesheet" type="text/css" media="print" href="print.css" /&gt; \n&lt;link rel="stylesheet" type="text/css" media="screen" href="screen.css" /&gt;\n</code></pre>\n'}, {'answer_id': 46742, 'author': 'Ian Nelson', 'author_id': 2084, 'author_profile': 'https://Stackoverflow.com/users/2084', 'pm_score': 3, 'selected': False, 'text': '<p>Our gracious host wrote a good blog post on this topic:</p>\n\n<p><a href="http://blog.codinghorror.com/stylesheets-for-print-and-handheld/" rel="nofollow noreferrer">Coding Horror: Stylesheets for Print and Handheld</a></p>\n'}]
['https://Stackoverflow.com/questions/46718', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3329/']