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.Pr interSetti ngs.Instal ledPrinter s
Any Suggestions?
Thanks,
Denise
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.Pr
Any Suggestions?
Thanks,
Denise
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.
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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