简体   繁体   中英

Javascript print multiple page into one without opening it

I have used javascript to print a page via iframe, it worked fine. Now I want to print multiple pages, each page in a frame within frameset at one time, one click, all the pages will be printed to one screen.

I don't know how to do it?

Print one page like reference here: https://www.daniweb.com/web-development/web-design-html-and-css/threads/275435/print-another-page-without-window-popup

Your button / link has to call:

parent.print();

However frames and frameset are really old and must to be avoided, if needed just use iframe.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM