[jQuery] Catching if print layout in the browser

[jQuery] Catching if print layout in the browser


Hello,
I am trying to modify print layout in JS but is there a way jQuery (or
in JavaScript general) to find out when user is going to print preview
so I can execute custom actions. Somethig like onPrint,
onPrintPreview???