, ,

Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

OIPI (OpenInsight 64-bit)

At 02 NOV 2022 07:40:30PM Gerry Van Niekerk wrote:

Hi All

In oi10 printing a PDF

Is there a new parameter to force an override of an existing PDF

as its not on mine..

Thanks

Gerry


At 03 NOV 2022 08:36AM bshumsky wrote:

Hi All

In oi10 printing a PDF

Is there a new parameter to force an override of an existing PDF

as its not on mine..

Thanks

Gerry

Hi, Gerry. There are a couple of different scenarios that you might be talking about - can you please be more specific? Are you asking about:

- the case where you have an OIPI print preview window up, and the user chooses the "Export" option, and then types in a filename for the PDF; or

- the case where you use OIPI to directly generate a PDF, without the print preview window; or

- the case where you have an OIPI print preview window up, and the user chooses the "Export" option (but they aren't prompted for an output filename - this is a new feature)?

Also (though I don't think it makes a difference in this case), are you asking about OIPI "classic" or OIPI.Net?

Thanks,

- Bryan Shumsky

Revelation Software, Inc.


At 03 NOV 2022 06:05PM Gerry Van Niekerk wrote:

Thanks Bryan

OIPI.NET

the case where you use OIPI to directly generate a PDF, without the print preview window

Classic seems to still have problems with PDF's so not using it in OI10, will test again when 10.2 comes out, but it did override the file I had.

Hope that helps..

Gerry


At 04 NOV 2022 08:15AM bshumsky wrote:

Thanks Bryan

OIPI.NET

the case where you use OIPI to directly generate a PDF, without the print preview window

Classic seems to still have problems with PDF's so not using it in OI10, will test again when 10.2 comes out, but it did override the file I had.

Hope that helps..

Gerry

Hi, Gerry. So, this is the case where you specify (in the INIT call) which file you want the output to be generated to? The user isn't prompted to change the location/filename interactively?

In this case, if you want to ensure that the file is (over) written without any prompting, you could OSDELETE the file before calling the SET_PRINTER routine - that should avoid the problem, if I'm understanding the situation correctly?

Thanks,

- Bryan Shumsky

Revelation Software, Inc.

View this thread on the Works forum...