• Post Reply Bookmark Topic Watch Topic
  • New Topic

iText - combine 2 or more pdfs

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Say I have 100 pdf files in a folder and I would like to print them.
I tried to this (Microsoft OS)
(1) Select All
(2) Right click
(3) Print

The problem is that it comes in a random order (?!) and some of the documents are not printed (?!)

Since I don't expect the end user to print them one by one I wonder if:

1. Is there a better - intuitive solution for this?
2. How can I merge all pdfs into one file?

Thanks for any help
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's already in your post title: use iText to concat the files: http://www.lowagie.com/iText/tutorial/ch13.html



pascal
 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks pascal, I got it there.

I used:
PdfCopyFields
PdfReader
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!