views:

99

answers:

2

My PM just stopped by and he wanted a copy of all of our pages... Is there a way to do this for all pages without having to go to each one?

+1  A: 

This is a really crazy idea but how about this:

Get a list of all the pages in an array and use JavaScript to load each page with an interval of like 20 seconds. When the page gets loaded fire the window.print() Javascript function. The print job will be finished within 20 seconds and the new page gets loaded and the same thing will again happen.

azamsharp
I believe that window.print though will show the print dialog.
Mitchel Sellers
Thanks Mitchel Sellers! Can that be by passed?
azamsharp
+3  A: 

Free/Open Source application to crawl you're own site:

http://www.httrack.com/

Then send the resulting local html files to the printer.


Should mention that httrack has a configuration for controlling how deep you traverse you're site hierarchy (and other options).

micahwittman