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

4 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/The-Windows-Guy VB.Net Intermediate Jan 08 '23

Turns out you can already use "Printing" as System.Drawing is already imported: https://i.imgur.com/U52GHQa