aspose file tools*
The moose likes HTML, CSS and JavaScript 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 » Engineering » HTML, CSS and JavaScript
Bookmark "Print Multiple Document" Watch "Print Multiple Document" New topic
Author

Print Multiple Document

Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
Hi,
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.
thanx
Eric Pascarello
author
Rancher

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

Joined: Jan 10, 2002
Posts: 61648
    
  67

Also we ... have a javascript forum here.

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
Another question guys.
can i open a word document in a new window.
S Chandra Mohan
Ranch Hand

Joined: Oct 19, 2000
Posts: 75
hi
i think u can.
I have worked in converting the output in excel format.
So word format may also be possible


Have a wonderful day and wish u success<p>S Chandra Mohan<br />sc_mohan_us@yahoo.com
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can open it up in another window, but the thing is some browsers are over taken by word and have the ability to open it in word while others open word up right in the browser. You might have trouble calling the new window tp print, but it is worth a shot.
Eric
Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
Guess u r right eric.
i am not able to print the word document opened in new window. print method isn't working.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Print Multiple Document