We are experiencing some issues with AsposeWordsPrintDocument. We are using Print method of AsposeWordsPrintDocument to print contents of Aspose.Words.Document. Everything is running fine for a day or 2 and then we are seeing “scrambled” printed outputs. But if we save Aspose.Words.Document object to a file (pdf/docx) the output document is fine. An IIS reset seems to fix the problem and everything is running fine for a day or 2 again.
Below is the code we are using. asposeDocument is Aspose.Words.Document object and when it is saved to file there is no scrambled text.
Using printDoc = New AsposeWordsPrintDocument(asposeDocument) printDoc.DocumentName = "test" printDoc.PrinterSettings = settings printDoc.PrintController = New StandardPrintController() printDoc.Print(); End Using
Could you please help us what might be the issue. The code is straightforward and we are using Aspose.Words 18.104.22.168 version. I uploaded the sample scrambled Capture.PNG (10.7 KB)
printout we got.