Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Select multiple items in a document library to print or download?

  Asked By: Harshit    Date: Jan 19    Category: Sharepoint    Views: 17905

I don't know if this can be done, but I would like to know if it is possible.

We have a client who wants to be able to select and download multiple items out
of a document library instead of one item at a time. I think also that our
clients are looking for a way to "batch print" selected items in a document
library. If anyone has any ideas on how to implement this I am open to ideas.

I think that if it did work, it would/should work like this;
The user selects a checkbox next to the items that he wants to download/print.
The user then goes to the actions menu and selects either "download" or "print"
and either their printer options menu appears, or a window asking them where to
save the files opens.



3 Answers Found

Answer #1    Answered By: Dan Dickerson     Answered On: Jan 19

Sounds like a custom coding job to me. print  and download  are going to be
two different solutions, even if you use the same mechanism to select  them.

For download, you could use a server-size compression API to stick them all
into one zipfile and hand it to the user  with a Save As prompt. For
printing, you can either (a) mash them all together into one PDF -- or
similar compiled document  -- and have the user click print once, or (b) use
some client-side VBScript to open  each file and print to the default printer
without user intervention (must be in a trusted local site to run, so this
will probably only be feasible on an intranet).

Answer #2    Answered By: Phenil Poriya     Answered On: Jan 19

That's kind of what I was thinking, and the coding for it sounds a little
tedious for something that could just as easily be done  manually, when the files
are uploaded. (the files  are mostly pdfs anyway, so we just need to train our
users to load individual pages, and then one pdf of all pages). If somone wants
to tackle the multiple  pdf print  job, that would be great. (I don't know near
enough to do so.) If not, oh well.

Answer #3    Answered By: Dante Parsons     Answered On: Jan 19

Essentially, you'd need to open  a new window, perhaps with an iframe that
expands to fit the document  (making sure that the document opens  within the
browser window  and not in its own app), and then use VBScript to call the
proper ActiveX object as outlined here:


But yes, you're right; there would need to be significant pain for this to
be worth doing.