01-19-2009 08:25 PM
This is what I would like to do:
I have a .rar folder with numerous files in it.
Within the main folder, there are about 10 subfolders.
Each of these subfolders has about 15 PDF documents in them.
I would like to take all 150 (15 PDF's x 10 subfolders) PDF documents and append them into one large PDF document.
They are all in order. How could I accomplish this in LabVIEW?
* Using 8.5
Solved! Go to Solution.
01-19-2009 08:38 PM
I'm not sure how you would do it in LV, but there are programs for doing it - even a couple free ones.
Mike...
01-19-2009 08:44 PM
Do you know any good ones off the top of your head?
Or you just know that they are out there?
01-20-2009 12:22 AM
01-20-2009 05:54 AM
I made this one a while ago.
Enter the path to the directory containing your pdf files.
Enter a pattern (ex. *.pdf).
Enter a name for the file to be created.
Run the VI. It'll fill the array with the files that match your pattern.
Enter the page numbers from each file that you want in in the output file into the Pages controls.
Hit "Go". It'll build your pdf with the selected pages using pdftk and System Exec.
You'll need to modify it to handle your use-case, but it should be easy (unless .rar indicates you're not working in Windows!)
Jim
01-20-2009 08:02 AM
09-27-2011 03:59 PM
itextsharp is a 3rd party pdf library, I use it to do exatcly what you want, if you do a search, they already have the vi's made