LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

append PDF files to create one large file

Solved!
Go to solution

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

Cory K
0 Kudos
Message 1 of 7
(3,565 Views)

I'm not sure how you would do it in LV, but there are programs for doing it - even a couple free ones.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 7
(3,564 Views)

Do you know any good ones off the top of your head?
Or you just know that they are out there?

Cory K
0 Kudos
Message 3 of 7
(3,562 Views)
You can do this in Adobe pro. They offer a 30 trial version. I think the tool is named document binder. But this can also be done from the main program


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 7
(3,535 Views)
Solution
Accepted by topic author Cory_K

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 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 5 of 7
(3,517 Views)
Thanks Jim
Cory K
0 Kudos
Message 6 of 7
(3,499 Views)

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

-Regards

eximo
_______________________________________________
UofL Bioengineering M.S.
Neuronetrix

"I had rather be right than be president" -Henry Clay
0 Kudos
Message 7 of 7
(2,840 Views)