How to get the printers in C#
-
1)Is there a way in C# to programatically get the printer list attached to the computer 2)How to check if a user is there in security for the printer attached to the computer in c# Any resources in that direction will be greatly appreciated
-
1)Is there a way in C# to programatically get the printer list attached to the computer 2)How to check if a user is there in security for the printer attached to the computer in c# Any resources in that direction will be greatly appreciated
Hello,
kalyanPaladugu wrote:
)Is there a way in C# to programatically get the printer list attached to the computer
This should give you a collection of installed printers. (doesn't mean that they are connected!) System.Drawing.Printing.PrinterSettings.StringCollection installedprinter = System.Drawing.Printing.PrinterSettings.InstalledPrinters;
kalyanPaladugu wrote:
2)How to check if a user is there in security for the printer attached to the computer in c#
Sorry, don't understand your question. All the best, Martin
-
Hello,
kalyanPaladugu wrote:
)Is there a way in C# to programatically get the printer list attached to the computer
This should give you a collection of installed printers. (doesn't mean that they are connected!) System.Drawing.Printing.PrinterSettings.StringCollection installedprinter = System.Drawing.Printing.PrinterSettings.InstalledPrinters;
kalyanPaladugu wrote:
2)How to check if a user is there in security for the printer attached to the computer in c#
Sorry, don't understand your question. All the best, Martin
1.For the first i think i figured out. Using System.Management API you can actually get the printers online. 2.If you go into the windows and go to start-settings-printers and faxes, select a printer and right click properties. You will find security and inside it you will find users. Is there a way to get to see those users programatically through c#