File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Print Multiple Document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Print Multiple Document" Watch "Print Multiple Document" New topic

Print Multiple Document

Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
I need to print more then one document without opening them using client side java script. But i am not able to do so. Please help.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
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.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Also we ... have a javascript forum here.

Indeed we do! And this topic is being spirited off to it.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Print Multiple Document
It's not a secret anymore!