I've been tasked with programatically opening up a set of XML files (~10k) associated with various InfoPath templates (20) and then saving the populated forms as PDF to a network share. This will be a one-time task.
I have code to cycle through the set of XML files and open them in InfoPath. However, the documented command-line parameters are not sufficient for my needs (no print / close parameters).
Can anyone provide any suggestions for startup parameters that will tell InfoPath to open a specific file, print it to PDF, and close upon printing? Is there an alternative method to achieve this goal?
We're using InfoPath 2007 and the files are hosted in MOSS 2007.