Description

The ENDTABLE message is used in conjunction with the ADDTABLE and TABLECELL messages. If formatting is to be done upon a table then the ENDTABLE message must be sent after the ADDTABLE.

Parameters

There are no parameters for this message.

Example

Set_Printer("INIT","","","",1,2)
 
Set_Printer("STARTTABLE")
 
colFormat = '<_1440':@vm:'<_1440':@vm:'<_1440'
colHeader = 'Column 1':@vm:'Column 2':@vm:'Column 3'
data = ''
for i = 1 to 30
   data<-1> = 'Col 1 - ':i:@vm:'Col 2 - ':i:@vm:'Col 3 ':i
next i
 
Set_Printer("ADDTABLE",colFormat,colHeader,data,'','','','')
 
* Set First Column to Bold
Set_Printer("TABLECELL",25:@fm:1:@fm:1:@fm:30:@fm:1:@fm:1)
 
* Set Second Column to Underline
Set_Printer("TABLECELL",27:@fm:1:@fm:2:@fm:30:@fm:2:@fm:1)
 
Set_Printer("ENDTABLE")
 
Set_Printer("TERM")

See also

ADDTABLE Set_Printer() MessageSTARTTABLE Set_Printer() MessageTABLECELL Set_Printer() Message

  • No labels