
4,380 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Windows Server 2019, the web app is deployed on IIS. A button on the screen is bound to a VBS script that calls Adobe PDF Printer to print an Excel file to a PS file, and then print it to a pdf file. It occasionally works the first time it is called. However, the second time it is called, an issue occurs when printing the Excel file to a PS file. The code is xlBook.PrintOut(, , , , "Adobe PDF" , True, , "E:\test.ps").