Get available printers

  • Thread starter Thread starter Jeff Williams
  • Start date Start date
J

Jeff Williams

I am looking for a way to get the list of printers and there port name
so I can populate a combobox.

What I need to do is get the printer name and if it is a network printer
the path and share name.

Place the printer name in a combobox and the share name as a value in
the combo box which I can then pass to another .net application.

I would appreciate any help or links to code which would show how to do
this.
 
Jeff,

Installed printers you can get from PrinterSettings.InstalledPrinters

Look at the MSDN for this property the article there comes with a sample
code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top