Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser Missing "Print" method equivalent found in standard web control Options
PM Software
Posted: Friday, February 14, 2014 1:12:45 PM
Rank: Newbie
Groups: Member

Joined: 2/14/2014
Posts: 3
The standard IE based web-control has a .Print() method, that we use in our application to print web-based report output automatically to various printers; it does NOT display the print dialog, like the javascript method does.

The control works awesome, but we need a print method (a way to print the browser content without user-intervention). Is there a different way to do it using EO.WebBrowser?
eo_support
Posted: Friday, February 14, 2014 2:09:09 PM
Rank: Administration
Groups: Administration

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

The underlying features are all there but they are not exposed yet. It's very easy for us to expose a single Print function but we would prefer to expose the print option dialog, or interface allowing user to set printing options programmatically together with the Print method. Once that part is done the Print method will be exposed.

Thanks!
PM Software
Posted: Tuesday, February 18, 2014 11:09:15 AM
Rank: Newbie
Groups: Member

Joined: 2/14/2014
Posts: 3
FWIW, internet applications (inside a browser) can only display the print properties box for security reasons, and that is already do-able with the control by using the javascript method.

But an application (like ours) that prints web reports to the windows printer cannot have the print box displaying every time or it defeats the purpose of the browser control, and security isn't a concern for native applications, since they could print using other methods anyway..
eo_support
Posted: Tuesday, February 18, 2014 11:17:26 AM
Rank: Administration
Groups: Administration

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

Yes. We understand that. It's not about security, it's simply that we have to have a way for you to set the options. A print can not start (or may not start or output properly) unless you set the options first (choosing which printer, what paper size, etc). For a browser this is done by presenting a print dialog to the user. For your application, this might need to be done by code, and the problem is the interface for that is not there yet. So we'd like to expose them together. Otherwise it would be a half baked feature and we will immediately have users asking us: how to choose a printer? How to set paper size? etc.

Thanks!
PM Software
Posted: Friday, February 21, 2014 10:52:19 AM
Rank: Newbie
Groups: Member

Joined: 2/14/2014
Posts: 3
In case it helps... the IE based control .Print() method immediately prints to the default windows printer, using all of it's default settings...
eo_support
Posted: Friday, February 21, 2014 11:09:06 AM
Rank: Administration
Groups: Administration

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

Yes. We are aware of that. We are working on this. Please be patient. :)

Thanks!


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.