尝试使用Adobe Reader进行打印,但收到此消息:致命错误:Acrobat无法连接到DDE服务器
Dim AcroRd32ExePath As String = GetAcroRdPath()
Dim startInfo As New ProcessStartInfo()
startInfo.FileName = AcroRd32ExePath
startInfo.Arguments = String.Format(" /s /o /h /t ""{0}"" ""{1}""", fileName, PrinterName2)
startInfo.UseShellExecute = False
startInfo.CreateNoWindow = True
startInfo.WindowStyle = ProcessWindowStyle.Hidden
Process.Start(startInfo)
'CAUTION: Adobe Reader silently rejects the print job if the printer name doesn't match case exactly
'The following switches are available:
'/n - Launch a new instance of Reader even if one is already open
'/s - Don't show the splash screen
'/o - Don't show the open file dialog
'/h - Open as a minimized window
'/p - Open and go straight to the print dialog
'/t - Print the file the specified printer.
'http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
我如何解决它?