Getting OIPI to print a bolded word within a sentence (OpenInsight)
At 08 AUG 2001 12:46:00PM Marc Edwards wrote:
How can you get OIPI to print a single work within a sentence in bold? The following example from the help does not seem to work.
The TEXTRTF message is used to send Rich Text Format (RTF) text to the printer.
Parameter Description of Fields Comments Default
Parm1 ? TextRTF TextRTF RTF text ""
The following example shows how to use the TEXTRTF message to bold text in the middle of a paragraph.
declare function Set_Printer
stat=Set_Printer("INIT") ;* Start printing
stat=Set_Printer("TEXTRTF", "This is a {\b simple} RTF test.")
stat=Set_Printer("TERM") ;* End printing
Also see: TEXT.
Any suggestions?
At 08 AUG 2001 07:10PM B Stevens wrote:
Had you run the following at the start of your oi session / test
stat=Set_Printer("START32")
Close with:
stat=Set_Printer("STOP32")
Barry
At 13 AUG 2001 12:21PM Marc Edwards wrote:
Thanks Barry, I'm new to OIPI and did not know that I need to invoke the 32 bit version of it.
Marc