We help IT Professionals succeed at work.

Print multiple documents from asp.net

pratikshahse
pratikshahse asked
on
Medium Priority
952 Views
Last Modified: 2012-05-06
I have a list of pdf documents on a form for a user to select by clicking the check box  next to each file name. When the user clicks print i would like to have each selected documents printed without showing the print dialog box for each document.
Comment
Watch Question

CERTIFIED EXPERT

Commented:
The only way to do this is to combine all the requested docs into a single PDF (on the server), and then print that file.

Author

Commented:
do you have a sample code to merge all documents to one?
CERTIFIED EXPERT
Commented:
I can't give you code, but there's an open source PDF library: http://www.pdfsharp.com

Here's some sample code from their web site showing how to combine documents:  http://www.pdfsharp.com/PDFsharp/index.php?option=com_content&task=view&id=52&Itemid=60

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT

Commented:
Just because the Author didn't get the answer he was looking for, doesn't mean the posts weren't helpful.  

My proposed solution is perfectly valid, and the link to the sample code shows exactly how to do it.
CERTIFIED EXPERT

Commented:
I think post http:#a23675042 should be awarded the points.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.