You can not do this with javascript since you need to have the document open to print it. JavaScript can not see a file unless it is opened on the client.
You can not do this since anyone could try to print out a 500000000000 page document of the
word MOOSE when you goto their site. You are going to have to open up every page and print it or give them a zip file and tell them to print all the files.
Also we go have a javascript forum here.
Eric