r/visualbasic • u/tfcallahan1 • 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
View all comments
Show parent comment
1
u/tfcallahan1 Jan 07 '23 edited Jan 08 '23
Hi - yes - .printing is not there...
https://imgur.com/a/vHq7rcS
Edit:
Here's some example code I have seen...