pruebens Posted December 16, 2002 Posted December 16, 2002 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? Quote
*Gurus* Derek Stone Posted December 16, 2002 *Gurus* Posted December 16, 2002 [api]EnumPrinters[/api] Quote Posting Guidelines
*Experts* Bucky Posted December 16, 2002 *Experts* Posted December 16, 2002 Or, if you wanted to loop through the names of all the installed printers easily, and use the Framework: Dim ps As New Printing.PrinterSettings() Dim s As String For Each s In ps.InstalledPrinters Console.WriteLine(s) Next Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
*Gurus* Derek Stone Posted December 17, 2002 *Gurus* Posted December 17, 2002 Use the solution Bucky posted. I wasn't aware of that until now. Quote Posting Guidelines
pruebens Posted December 17, 2002 Author Posted December 17, 2002 Will do.......thanks a bunch. Quote
cuau Posted March 26, 2003 Posted March 26, 2003 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 Quote
*Gurus* Derek Stone Posted March 26, 2003 *Gurus* Posted March 26, 2003 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. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.