I have the following CSS for my print style:
* { display:none; } #printableArea { display:block; }
If you want to use JavaScript, you can try this simple snippet that doesn't even require jQuery:
document.body.innerHTML=document.getElementById('printableArea').innerHTML;