Ok, so the title of this entry is a little misleading but I was just trying to get your attention. I had a request at work the other day that I knew right away was going to be impossible. The request came down to me and looked a little something like this.

Dan - I know that this may not be possible but is there any way to disable printing for the results screen your working on?
Of course there is no way to truly stop someone from using print screen and printing out the contents of the screen. What I did learn though is that they were talking about the file > print command from the browser windows.

This of course is not possible to disable but with a little css magic we can create some invisble ink. First you need to a print stylesheet to the template. This basically tells our application that when a user goes to print this template use this style sheet instead of the normal one. In that stylesheet we can do a quick little trick to hide everything on the page. Now when the user goes to print the page all they will see is a blank page with a printer header and footer. I know dumb little trick but I thought it was funny.