RodDog888's code:
VB Code:
  1. Private Sub cmdGlobalAdd_Click()
  2.     Shell "Rundll32 printui.dll,PrintUIEntry /ga /c\\localcomputername /n\\servername\printername", vbNormalFocus
  3. End Sub
  4.  
  5. Private Sub cmdGlobalDelete_Click()
  6.     Shell "Rundll32 printui.dll,PrintUIEntry /gd /c\\localcomputername /n\\servername\printername", vbNormalFocus
  7. End Sub

I don't have internet access (except to this site) at work at the moment, so I can't look up the command line parameters for printui. Does anyone know how to use printui to find all printers on the network? Not just printers installed on a workstation, but all available printers on the network?

Or, is there another way to do this? Possibly by looping through each workstation on the network and grabbing its installed printers (which I also can't figure out how to do)? All I can do so far is find the installed printers on my own workstation.

Thanks