title: execute javascript when printing page
body: <p>when printing a page, the javascript code seems to be executed.<br>
  how can I determine, if the page is currently being printed? I do some js-resizing, and have to handle printing a little bit different.</p>