Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Apr 15, 2021 4:55 am

Has been using an older version of spire.pdf where I could check if a printer is valid by using pdfDocument.PrintDocument.PrinterSettings.IsValid

The pdfDocument.PrintDocument is now obsolete. Is there another way I can check if the selected printer is valid ?

Soeren_Solberg
 
Posts: 3
Joined: Wed Apr 14, 2021 12:56 pm

Thu Apr 15, 2021 10:42 am

Hello,

Thanks for your inquiry.
I’m sorry that the current version does not provide a way to check if the printer is valid. But we have added it as a new feature with the ticket SPIREPDF-4196 to the upgrade list. If it is achieved in the future, we will let you know.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri Apr 16, 2021 5:26 am

Thanks for the reply, hope you can implement it soon

Soeren_Solberg
 
Posts: 3
Joined: Wed Apr 14, 2021 12:56 pm

Tue Apr 27, 2021 9:31 am

Hello,

Greetings from E-iceblue!
Glad to inform you that we just released Spire.PDF Pack(Hot Fix) Version:7.4.13 which adds a new feature to check whether the printer is valid. Please refer to the following code. Looking forward to your testing result.
Code: Select all
pdf.PrintSettings.IsValid;


Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/7.4.13

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Apr 27, 2021 11:10 am

Thanks a lot that's great :D

Soeren_Solberg
 
Posts: 3
Joined: Wed Apr 14, 2021 12:56 pm

Wed Apr 28, 2021 1:10 am

You are welcome.
If you encounter any issues related to our products in the future, please feel free to contact us.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.PDF