Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 14 SEP 2005 10:51:12PM Robert Lee wrote:

Hi all.

I am trying to get an OIPI generated report delivered to a client through OECGI. I thought it would be simple, using the PDF export option and then emailing the PDF to the client.

However, as soon as the INET_ procedure reaches Set_Printer('INIT'…), the browser informs me gives me an error message - OpenInsight – Server Error, Fatal error while processing request, PS is not running.

I guess PS is the Presentation Server…

I have tried all the obvious options in Parameter 5 to no avail.

Obviously, this has been done before, so hopefully someone can steer us in the right direction.

Am using OI 7.1.0.

Cheers

Robert


At 15 SEP 2005 03:53PM Richard Hunt wrote:

I think…

When using OECGI you must

  ERROR=SET_PRINTER('START32')

before the "init" option.


At 15 SEP 2005 06:01PM Robert Lee wrote:

Hi Richard

Thanks for the response. I tried that, but that didn't change anything unfortunately.

Any other suggestions?

It must be something equally simple.

Cheers

Robert


At 15 SEP 2005 06:36PM Richard Bright wrote:

Richard,

The applies to earlier releases of OI, pror to v7 or even earlier I think. At v7.1 the OIPI handles this itself - so the use of START32 and STOP32 have to be removed.

Robert's problem may possibly be due to trying to run an activex control outside the PS mode?? ….But I havnt given it much thought as yet.


At 16 SEP 2005 08:59AM Bob Carten wrote:

Richard is correct.

OIPI in version 7.1 requires the presentation server, so it does not run from OECGI.

A workaround is to have a 'print server', where OECGI senda message to an engine which IS running a presentation server, the print server engine generates the report as an HTML or PDF, the OECGI response is a redirect to the flat report file.

Revelation are looking at better solutions; we have not decided upon the best approach yet.

Bob


At 20 SEP 2005 12:35PM Kauko Laurinolli wrote:

Sounds complicated. I am emailing PDF reports using OIPI and have never used any "INET_ procedures" and "Presentation Server".

Simple and works beautifully.

Robert, send me your email address and I sent you a sample which might help you.


At 20 SEP 2005 09:57PM Robert Lee wrote:

Thanks Kauko

I am using an INET procedure because this is a web based application. I am already producing .PDF reports with the Windows version. As you say, that works fine.

Unfortunately, a request which comes over the internet, through OECGI to an INET proedure is unable to generate an OIPI report because OIPI does not work in that environment. It seems the INET procedure needs to write a request away to a queue, which a Windows based program checks and then uses OIPI to create the report.

Thanks for the thought though

Robert

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/726703bb96dc348d8525707d000face0.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1