, , ,

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 Help Needed - Larry Deibel (OpenInsight 32-Bit)

At 08 JUL 2004 10:44:54AM Sean FitzSimons wrote:

Larry,

You posted:

TEXTRTF has the ability to bold text, e.g. {\b Some Text}

My questions are:

* Will it underline? Are there other parms? Is there any

documentation?

* Can I bold/underline variables?

* I need to print a single line with a mixture of text and

variables bolded or underlined. I figured out how to do that

with printer.dll. Can I do it with OIPI?

A Response:

The TEXTRTF is an OIPI Set_Printer Message. When using this message you can pass any valid RTF codes and OIPI will print them for you. The Help file shows how to do so for the bold.

Sean


At 08 JUL 2004 05:24PM Larry Deibel wrote:

I agree with the bold parameter, it always works. Why does the following not work?

declare function set_printer

stat=set_printer('INIT','TEST','TEST','',0,2)

stat=set_printer('TEXTRTF','This is {\b BOLD} and this is {\ul UNDERLINED}')

stat=set_printer('TEXT')

stat=set_printer('TEXTRTF',"This is {\b BOLD} why isn't this {\ul UNDERLINED}")

stat=set_printer('TEXTRTF','This is {\b BOLD} and this is {\ul UNDERLINED}')

stat=set_printer('TERM')

return 1


At 09 JUL 2004 09:05AM Sean FitzSimons wrote:

Larry,

I have duplicated the error. I do not have fix yet, but will be investigating and getting back to you.

Please stay tuned.

Sean


At 16 JUL 2004 12:01PM Sean FitzSimons wrote:

Larry,

I have found that the multiple lines of TEXTRTF works if you print the report and not just preview the report. For test purpose play with the zoom in the Preview window and you will see different results for different zoom percents, but when you print your underlines will be there.

Sean


At 21 JUL 2004 05:50PM Jim Peters wrote:

Sean, I have been trying to get this to work also. I found that \b and \ul worked as advertized, but colors such as \red or \blue are ignored.

I needed to highlight an item on a report to indicate an exception, and coloring it red would have been nice. I had to settle for bold, which still made it stand out enough to be noticed.

This would be a really useful feature if we could get it to work a little better.

View this thread on the Works forum...