In general, you wouldn't use JavaScript to access multiple pages and print them. (If it's even possible, it sounds like it would be a bit of a hack.)
Instead, you'd probably want to have one page which contains all of the information to be printed, CSS-styled for printability, which the user would view and be able to print. (In this case you can easily use JavaScript to initiate the print action.)
Perhaps a "print all" link which directs the user to a page (or opens a page in a new target) which contains all of the information for printing?
You could even take it a step further and make it a little more dynamic. Maybe have checkboxes next to the headings for each section of information and a button to "print selected" which would post the selections to the server and render only the selected information to the "print all" page.
I just feel that, as a user, this would adhere more to least astonishment than something that prints things I didn't even download in the first place (where you also run the risk of sending too much to a user's printer and wasting their resources).
Edit:
Another approach that just occurred to me. Does all of the content need to be on separate pages in the first place? Maybe just put the content in div
s which are hidden by default, and the "read more" link shows the associated div
. Then all you need for the printability is the aforementioned CSS media style. When viewing in the browser they can expand/collapse information sections individually, but when the page is printed everything is expanded.