r/visualbasic • • Jan 07 '23

VB.NET Help VB.Net - system.drawing.printers not available - need to get list of installed printers in windows

I am trying to get a list of installed Windows printers in VB.Net. I am using VS 2022. From the searching I have done I should be able to use system.drawing.printing however this does not exist in my installation. Does anyone have any thoughts? TIA.

Edit: should have been system.drawing.printing

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/tfcallahan1 Jan 08 '23

Installing the compatability NuGet package is the answer. Thanks a lot!

2

u/jd31068 Jan 08 '23

You're welcome, glad to help out. Good luck with your project.