OIPI oengine (OpenInsight 32-bit Specific)
At 21 JUN 2010 10:46:35AM Paxton Scott wrote:
Greetings!
Using OI 9.1.1 is it possible to use OIPI to create pdf files without running display manager?
So, I can initiate production of a pdf from my browser.
(If I can, how.)
Have fun,
Paxton
At 21 JUN 2010 01:37PM Bryan Shumsky wrote:
Hi, Paxton. OIPI must be run from a visible instance of OI (though of course it is possible to generate the PDF without the print preview window). Your browser communicates directly with the OEngine (or via the OEngineServer, if you are using OECGI2), which does not have a UI instance that can support OIPI.
I don't know if going to 9.2 is a possibility for you, but to solve the problem of PDF generation for our own browser-based solution (O4W), OI 9.2 provides a way to "spin off" a request to another OpenInsight; in this way, the OEngine that is executing the web request can ask the new OpenInsight to execute the PDF generation.
Hope that helps,
- Bryan Shumsky
Revelation Software
At 22 JUN 2010 09:32AM Paxton Scott wrote:
Thanks, Bryan
I was pretty sure that was the case, but wanted to checkā¦..not a real good solution in any event, so will continue to "remote in" to start OI to run the routine to create the PDF's for now. 9.2 is certainly a possibility, but not thrilled with that solution either.
We do use oengineServer and it works nicely. When you "spin off" the request to another OpenInsight, does it have to already be running, or can it be started (and I suppose close itself) from the oengine executing the web request?
Have fun,
Paxton
At 24 JUN 2010 10:48AM Bryan Shumsky wrote:
Hi, Paxton. Yes, depending on how you configure the "background process", the request to run an OpenInsight instance "in the background" will start up the OI, run the request, and then have the OI terminate.
Alternatively, if desired, you can specify an OI "task dispatcher" to manage these requests, and a maximum number of OI "task servers" to execute them, so you don't have to experience a startup delay as the OI loads.
Hope that helps,
- Bryan Shumsky
Revelation Software