I have several iframes in a page. I want to show in a print preview all the iframe contents as snapshots of iframes. I used window.print() for individual iframe
window.print()
May this code helpful for you..
HTML:
Hi! I'm a report!
Script
function printall() { window.print(); for (var i=0; i
Fiddle : http://jsfiddle.net/ackMC/5/