Welcome Guest Search | Active Topics | Sign In | Register

EO Webbrowser Print To File Options
Nicolaj V
Posted: Wednesday, January 24, 2018 8:55:50 AM
Rank: Newbie
Groups: Member

Joined: 1/24/2018
Posts: 2
Hi,

We are currently testing your EO.Webbrowser, and looking into controlling the print flow. During this, we try to Print to file, instead of directly to the printer. We don't need to save it as PDF (As I've have read that requires the Html -> Pdf product you offer), but is it not possible to save it as the standard *.prn file?

The code I am working on looks like the following

Code: C#
private void View_BeforePrint(object sender, EO.WebBrowser.BeforePrintEventArgs e)
        {
            e.PrinterSettings.PrintToFile = true;

            e.PrinterSettings.PrintFileName = @"C:\temp\testPrint.prn";

            e.Continue(false);
        }


The file is never saved and instead, it just prints it as nothing had changed.

Am I missing something or is it just not possible for EO Webbrowser ?

Thanks for your time
eo_support
Posted: Wednesday, January 24, 2018 11:16:09 AM
Rank: Administration
Groups: Administration

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

No. It is not possible for you to save the result to a file. This is not supported.

Thanks!
Nicolaj V
Posted: Thursday, January 25, 2018 2:41:18 AM
Rank: Newbie
Groups: Member

Joined: 1/24/2018
Posts: 2
Okay, thanks for the quick answer.


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.