OIPI to html (OpenInsight)
At 05 SEP 2001 12:42:24AM Tony Ayling wrote:
Has anyone successfully exported an oipi report to a html file yet?
Maybe someone could just confirm it works so we know we have a problem or not.
Thanks all
Regards
Tony Ayling
At 08 OCT 2001 04:02PM WinWin/Revelation Technical Support wrote:
Tony:
From an upcoming White Paper on OIPI and exporting to files.
Program presumes that you have already done a Set_Printer(START32).
$Insert OIPI_Equates $Insert Colors *--- * Print to an HTML File *--- Filename =TEST PRINT':@FM: '' :@FM: 4 :@FM: 'C:\temp\HTMLfile.HTML' x =Set_Printer("INIT",FILENAME,'','','',0) text=Export to HTML Example" x =Set_Printer("TEXT", TEXT) *--- * Print 10 Lines *--- For I=1 To 10 TEXT=Line ':I x=Set_Printer("TEXT", TEXT) Next I *--- * print a table *--- table =1,2,3,4":@fm table := "5,6,7,8/" table := "9,10,11,12/" table := "Row Number 4 - Column Number 1,Row Number 4 - Column Number 2,Row Number 4 - Column Number 3,Row Number 4 - Column Number 4" convert "," to @vm in table convert "/" to @fm in table head =Column 1":@VM: "Column 2":@VM: "Column 3":@VM: "Column 4" Column_Defs=+2160":@VM: "=2160" x=Set_Printer("TEXT", @FM: "Here's a Table":@FM) x=Set_Printer("ADDTABLE", Column_Defs, head, table, Red$, Yellow$, 0, TB_ALL) x=Set_Printer("TERM")Hope it helps