Link to home
Start Free TrialLog in
Avatar of DeniseGoodheart
DeniseGoodheart

asked on

Get installed printers using System.Drawing.Printing.PrinterSettings.InstalledPrinters

Hi,

I'm using ASP.NET 2005 with VB.NET.  I’m trying to display all printers installed on my laptop using the drop down list control.  The following code does not display the installed printer on the server at "\\Beatles\Dell Photo AIO Printer 922"

        ddlPrinter.DataSource = System.Drawing.Printing.PrinterSettings.InstalledPrinters


Any Suggestions?
Thanks,
Denise

Avatar of raterus
raterus
Flag of United States of America image

Unless your laptop is the webserver, you aren't going to retrieve a list of client printers using that method.  In fact, there is no way to do that using asp.net.
Avatar of DeniseGoodheart
DeniseGoodheart

ASKER

Hi raterus,

My laptop is the webserver.  I thought it was some how possible because it displays the printer Microsoft Office Document Image Writer wtihin the drop down list control, but not the \\Beatles\Dell Photo AIO Printer 922.  When I print from my laptop, it uses \\Beatles\Dell Photo AIO Printer 922

Thanks,
Denise


ASKER CERTIFIED SOLUTION
Avatar of raterus
raterus
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Raterus,

Thanks for your comment.  I'm working on a Web project that requires I use Crystal Reports .NET 2005.  I found out today that the reports need to be available for the Internet, and not just an Intranet application.  So finding available printer servers is no longer necessary.  So now I need to figure out how to make printing available for Internet users, so I'll post a new question.

Thanks,
Denise