The error occurred while calling Adobe through IIS to convert an Excel file to a PDF file

Liu, Qianyu 0 Reputation points
2024-12-11T02:54:16.02+00:00

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").

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.