Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to list only printers currently hooked to my laptop..

Status
Not open for further replies.

MushMouse

Programmer
Mar 29, 2004
65
0
0
US

The code below lists every printer that I've ever accessed, but I really would like to list only the ones that are currently hooked up to my laptop. Is there a way to do that?

For Each prtLoop In Application.Printers
PrinterList.AddItem Item:=prtLoop.DeviceName
Next prtLoop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top