• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

iText - combine 2 or more pdfs

 
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks pascal, I got it there.

I used:
PdfCopyFields
PdfReader
 
reply
    Bookmark Topic Watch Topic
  • New Topic