I am using VB.Net 2008 and the Microsoft.Office.Interop.InfoPath.Application.Printout method to print an xml document to a third party pdf writer. How can my app determine when the print job is finished so I can close the xml document and Infopath? I know there is a ApplicationEvents_Event.XDocumentBeforePrint Event and was wondering if there is a similar event for after print that I could use. If not, is there another way to determine when the document is done printing?
Sandy