Get all system Printers


/ Published in: VB.NET
Save to your folder(s)



Copy this code and paste it in your HTML
  1. Protected Overrides Sub ChargeImpresoras()
  2.  
  3. Dim lPrintDoc As New Printing.PrintDocument
  4. Dim lPrinter As Object
  5.  
  6. For Each lPrinter In PrinterSettings.InstalledPrinters
  7. cboPrinters.Items.Add(lPrinter)
  8. Next
  9.  
  10. End Sub

Report this snippet


Comments


You need to login to view comments.