Collecting printers

pruebens

Regular
Joined
Nov 21, 2002
Messages
71
Is there a way that when a user opens up a form that I can capture the printers (local and network) that are installed on their machine?
 
Or, if you wanted to loop through the names of all the installed
printers easily, and use the Framework:

Visual Basic:
Dim ps As New Printing.PrinterSettings()
Dim s As String

For Each s In ps.InstalledPrinters
  Console.WriteLine(s)
Next
 
PrinterSettings

Ok for all, but only works well if the class of PrinterSettings is implemented in WinForms not in WebForms, any idea of how implementing in WebForms. Not list on WebForms all printers
 
You can still import System.Drawing.Printing in a web application. Of course all that's going to do for you is enumerate the printers on the server, which is of little use in my opinion.
 
Back
Top