When developing web applications we often run into a request to print one or more pages within the applications. In most cases, these pages will contain some type of report. There are tons of ways to do that. Most of them I don’t like, especially the trivial one that pops to mind - “open a new window with a printer-friendly version of the page and set onload=’window.print()‘” . I find it quite irritating for the user. There is another solution, which is less popular than its fellow window.open solution...