Automated PDF Printing

Hi everyone,

I created a Plug-In that creates (a lot of) layouts automatically. I now would like to print each into a separate PDF file with a separate location in the file System.

I can almost get it to work with the RunScript command.

However, I couldn’t find a way of getting to manually inserting the FileName and Location

Which of course is not the desired way.I would like to somehow pass this information to the printer.
Does anyone have experience, or even better a solution for this problem?

It’s probably possible somehow if I don’t script the printing logic, but use c#.Net to manage the printing. Correct?
How would I do that?

Thanks
Martin