title: C# - Get List of all USB Printers
body: <p>How can I get a list of all the connected USB printers using C#? I need to show in a Listbox the name of all USB printers.</p>
  
  <p>Edit: System.Drawing.Printing.PrinterSettings.InstalledPrinters does not solve my problem, I need only USB printers, not installed printers.</p>
  
  <p>Edit2: My real objective is get device instance ID from the printer name, which has been answered here: <a href="https://stackoverflow.com/questions/10651949/figuring-which-printer-name-corresponds-to-which-device-id">Figuring which printer name corresponds to which device ID</a>. So, I need printer name take from a list of USB printers to use GetUSBPath(string PrinterName).</p>