Hello,
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.
I think I need a way to wait until the queue has been loaded, but not sure how to accomplish this.
Any ideas?
I'm trying print multiple PDF files using the following code:
VB.NET:
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
report.Start()
All files print just fine, but the queue to the printer is not in the correct order.
I think I need a way to wait until the queue has been loaded, but not sure how to accomplish this.
Any ideas?