Page 1 of 1
Print to network printer
Posted: Tue Aug 25, 2020 4:12 pm
by FrenkR
Hello,
is there any simple example of printing to "shared" (network) printer? I believe I need to set network name and authorization credentials?
Re: Print to network printer
Posted: Wed Aug 26, 2020 11:11 am
by Lech Kulikowski
Hello,
As a way, please try to check the following solution:
https://support.vendhq.com/hc/en-us/art ... view-on-PC
Thank you.
Re: Print to network printer
Posted: Wed Aug 26, 2020 1:30 pm
by FrenkR
Hello,
I mean printing to a "shared printer" with printer name "\\{server_name}\{shared_printer_name}" using code.
Currently, for printing to local printer it is as follows:
Code: Select all
PrinterSettings printerSettings = new PrinterSettings
{
PrinterName = {local_printer_name_from_PrinterSettings_InstalledPrinters_List}
};
Report.Print(false, printerSettings);
Question is about code "snippet" to print to "shared printer". I believe there are also issues with authorization/authentication?
Re: Print to network printer
Posted: Thu Aug 27, 2020 6:43 am
by Lech Kulikowski
Hello,
It the browser limitations, due to the security reason, it is not possible to provide printer settings from the code.
Thank you.