I have tried this scenario while using the latest version of Aspose.Cells for .NE 8.7.0.2 and a sample spreadsheet on my own. Unfortunately, I am not able to replicate the said exception on my side. I believe the problem could be either in your current version of the API or the sample it self therefore you may troubleshoot this scenario further by testing the case against latest revision (attached). In case the problem persists, please provide us an executable sample application along with the source spreadsheet for further investigation.
VB.NET
Dim book = New Workbook(dir & “book1.xlsx”)
Dim sheet = book.Worksheets(0) Dim options = New ImageOrPrintOptions() options.ImageFormat = ImageFormat.Jpeg options.PrintingPage = PrintingPageType.Default Dim render = New SheetRender(sheet, options) render.ToPrinter(“Microsoft Print to PDF”)
It is good to know that you are not able to observe the said exception any more. Regarding your recent concerns, I am able to print your provided spreadsheet without any problem. It seems that the said problem is more related to you printer settings/configurations as it is not able to process the printing queue. You should check with your system administrator in order to resolve this problem. Furthermore, you can troubleshoot the scenario by sending the printing request to a virtual printer such as PDF or XPS printer which do not have a queue and prints instantly.
also i am no longer getting email notifications when you respond to me, do you know why
You are the owner of the thread so you should be receiving notifications for this thread. Please check if the emails are not being sent to your spam folder. If so, you may add this domain/email address to your white list in order to avoid such problems in future.
Thank you for the nice gesture. It is good to know that you are able to resolve the printing problem on your side. Please feel free to contact us back in case you need our further assistance with Aspose APIs.