Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Batch printing job Acrord32 exe kill not working in ASP .Net app

$
0
0

We have a wierd issue in batch printing job when printing couple of files. It opens a small popup window and silently print a file which is working fine with Word and excel files, printing files, closing word and excel windows but when it comes a turn of printing pdf file in job. It opens Acrobat Reader window and prints pdf file then it hangs application and Acrobat Reader window remains open. It does not close Acrobat Reader window when killing the process. It does not print next file in job. It was working good with Acrobat Reader version 8 it was closing Acrobat Reader window and printing next file in the job. We have Acrobat Reader version 11 and this issue appeared.

 

For Each clsProcess As System.Diagnostics.ProcessIn System.Diagnostics.Process.GetProcesses()

 

If clsProcess.ProcessName.Contains("AcroRd32") Then

If Not clsProcess.HasExited Then

                  clsProcess.Kill() 

 

                    clsProcess.WaitForExit(30000)

 

 

               End If

          End If

Next

                

 

If anybody knows the solution how its going to work will be greatly appreciated.


Viewing all articles
Browse latest Browse all 10848

Trending Articles