guides:programming:programmers_reference_manual:starttable_set_printer_message

STARTTABLE Set_Printer Message

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.

There are no parameters for this message.

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")
  • guides/programming/programmers_reference_manual/starttable_set_printer_message.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1