|
Rank: Newbie Groups: Member
Joined: 6/30/2015 Posts: 8
|
I have just downloaded the new EO.WebBrowser build (trying to resolve some of my other issues). I am just in trial mode. However even when passing in printer settings and page settings (worked fine in 2014 build), it still only prints to my default printer.
Thanks, Daniel
|
|
Rank: Newbie Groups: Member
Joined: 6/30/2015 Posts: 8
|
I was able to try this with the registered version and it is still only able to print to the default printer, unless I choose the printer through the dialog box.
Code: C#
var printerSettings = new PrinterSettings();
printerSettings.PrinterName = printerName;
if (!printerSettings.IsValid)
throw new InvalidOperationException(string.Format("Printer {0} is invalid or does not exist.", printerSettings.PrinterName));
var pageSettings = new PageSettings(printerSettings);
var task = WebControl.WebView.LoadHtml(html);
if(task.WaitOne(10 * 1000));
WebControl.WebView.Print(printSelectedFrameOnly:false, printerSettings:printerSettings, pageSettings:pageSettings);
Any ideas would be helpful. Thanks, Daniel
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have posted a new build that should fix this issue. You can download the new build from our download page.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/30/2015 Posts: 8
|
Thanks so much! It is now printing to the correct printer.
Daniel
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
You are welcome. Thanks for confirming the fix!
|
|