Reputation: 111
I'm looking for a way to open with C# "Print Server Properties Menu"
With the following code i can open the setting menu for printers:
Process.Start("ms-settings:printers");
I can't find what code i need to open the "print server properties menu"
Upvotes: 0
Views: 823
Reputation: 299
you can load printui.dll with the rundll32 library loader and execute PrintUIEntry with the /s flag:
var psi = new ProcessStartInfo()
{
FileName = "rundll32",
Arguments = "printui.dll, PrintUIEntry /s",
UseShellExecute = false
};
Process.Start(psi);
This can help:
https://learn.microsoft.com/it-it/windows-server/administration/windows-commands/rundll32-printui
Upvotes: 1