I'm trying print multiple PDF files using the following code:
All files print just fine, but the queue to the printer is not in the correct order.
Dim startInfo As New ProcessStartInfo
startInfo.FileName = fileToPrint
startInfo.Verb = "print"
startInfo.Arguments = ""
startInfo.UseShellExecute = True
startInfo.CreateNoWindow = False
Dim report As Process = New Process
report.StartInfo = startInfo
I think I need a way to wait until the queue has been loaded, but not sure how to accomplish this.