Help us here to help you, where are we starting from?
Have you found online a suitable routine to create a PDF? There are plenty there and on this forum the question gets asked frequently.
You might also look for something like sriptpro or Lee Macs script writer which should help creating a batch process.
but first off where are we starting from with our help?