This another piece of code from Quest-net. I used a fixed width for the site which made printing pages difficult. To get round this I put in my own print button:
This calls the page again but with "?print=true" added to the URL. I then used the following to change the layout accordingly.
You can take this further by not displaying any of your navigation elements in the printable version of the page: