Inserting a Bitmap into a OIPIi table (OpenInsight 32-Bit)
At 01 JUN 2009 02:56:47AM Chris Meyer wrote:
Hi All,
I am trying to create an RTF formated output instead of a PDF format so that the microsoft faxing routine does not have to use acrobat reader to render the fax into TIF format.
The problem is inserting a bitmap that will print in RTF format.
The code I'm using is as follows:
Void=Set_Printer("STARTTABLE")
Void=Set_Printer('ADDTABLE','^10000',Crlf$,
,
,,
, TB_Box:@fm:"C")Void=Set_Printer("TABLECELL",TcPicture:@fm:1:@fm:1:@fm:
:@fm:
:@fm:Bitmap)Void=Set_Printer("TABLECELL",TcPictureAlign:@fm:1:@fm:1:@fm:
:@fm:
:@fm:2)Void=Set_Printer("ENDTABLE")
I cannot get the bitmap to display in the table cell.
Any help would be appreciated.
Chris
At 01 JUN 2009 08:29AM Sean FitzSimons wrote:
Chris,
Your ADDTABLE command needs a something other than a null in your BODY message. The TABLECELL command is not seeing anything in cell 1. You will also need to change the ROWHEIGHT for the correct size of your bitmap.
Sean
At 01 JUN 2009 07:48PM Barry Stevens wrote:
Hi Chris,
]]microsoft faxing routine
Are you creating and sending the fax to the Microsoft Faxing with no post-user intervention, or is the user doing it with your 'attachment'.
If *you* are sending, how are you doing this.
At 01 JUN 2009 09:18PM Chris Meyer wrote:
Thanks Sean,
That fixed the print preview display in OI (Version9). The bitmap now displays on the screen (in OI), but when I then create an RTF output file the bitmap does not display in microsoft word. The table is displayed with no bitmap.
Is there something else I need to do to display the bitmap in MS word.
TIA
Chris