Can anybody give me a solution for accessing to shared printer like: "\192.168.30.139\HPPrinter" via ASP.NET Core application. I used "Stimulsoft" for print my document directly for C# code, if I have to give permission or etc... how can I do that? I am remined my code is working on local system (Visual Studio or local IIS) but when I publish my project (ASP.NET Core) it doesn't work and throw below error message: "Settings to access printer. '\192.168.30.139\HPPrinter' are not valid." My server is on local network and can browse "\192.168.30.139\HPPrinter" address well.
StiReport report = new StiReport();
report.Load(".mrt file template");
report.RegData("CardTable", new { // My Data });
PrinterSettings settings = new PrinterSettings();
settings.PrinterName = @"\\192.168.30.139\HPPrinter";
report.Print(false, settings); // => "I get error at this line"