I want to set a default printer to print the docs from my web application. I don't know how to set it. As all the users using this application should have a specific printter accttached to their PC. Please help me. Thanks in advance.
[DllImport("winspool.drv", CharSet=CharSet.Auto, SetLastError=true)]
public static extern bool SetDefaultPrinter(string Name);