Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser always uses default printer Options
Daniel Guenter
Posted: Thursday, July 2, 2015 7:12:08 PM
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
Daniel Guenter
Posted: Friday, July 3, 2015 12:54:15 PM
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
eo_support
Posted: Friday, July 3, 2015 3:41:55 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

We have posted a new build that should fix this issue. You can download the new build from our download page.

Thanks!
Daniel Guenter
Posted: Monday, July 6, 2015 4:07:52 PM
Rank: Newbie
Groups: Member

Joined: 6/30/2015
Posts: 8
Thanks so much! It is now printing to the correct printer.

Daniel
eo_support
Posted: Tuesday, July 7, 2015 2:47:42 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
You are welcome. Thanks for confirming the fix!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.