You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

The STARTTABLE message is used in conjunction with the ADDTABLE and TABLECELL messages. If formatting is to be done upon a ttable then the STARTTABLE message must be sent prior to 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() Message, ENDTABLE Set_Printer() Message, TABLECELL Set_Printer() Message

  • No labels