|
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?
|
|
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!
|
|
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..
|
|
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!
|
|
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...
|
|
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!
|
|