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
I think the biggest problem here is getting content from different frames into one view, which can be printed. Wether you want this in a .pdf or with window.print()
. Is it possible for you to get the content of all frames which need to be printed into one document (frame)? For instance With AJAX, cURL, or PHP-methods? I think that's the only way to make one printable document of it.
Good luck!