We are using the following code to print a PDF file. It works most of the time, however occasionally this block of code hangs and the printing function and at that point no one can print any longer from the website and we must do an IISRESET to make printing function again.
Please let me know what is wrong with the Aspose.PDF printing function. The problem according to our logging is that it stops at this line:
viewer.PrintDocumentWithSettings(pgs, ps);viewer.PrintDocumentWithSettings(pgs, ps);
It never resumes processing after using that command.