SET_PRINTER("CONTROL") (OpenInsight 32-Bit)
At 26 JUN 2009 01:05:52PM John Godfrey wrote:
I wish to change the intercolumn spacing in the Header columns. Help page says use CONTROL Property, but seems to have no effect. What is the correct syntax?
current= Get_Printer("CONTROL")
current is 0:@FM:"":@fm:""
Do=Set_Printer("CONTROL",@fm:"10",Header,Footer,Font)
current= Get_Printer("CONTROL")
current is still 0:@FM:1:@fm:0
Something has happened though as column headings have disappeared. Guess I need to insert ColHeads somewhere but Help not really clear
TIA
At 27 JUN 2009 12:48AM Barry Stevens wrote:
I assume you are using TEXTCOL to print.
Does the TEXTCOL example work for you.
btw, this has been superceded by ADDTABLE
At 27 JUN 2009 03:24AM John Godfrey wrote:
Not using TextCol. Directed to CONTROL from the Header Help :-
HEADER Set_Printer Message
Description
The HEADER message is used to set the page and column headers. The font that is used by the HEADER message is set with the FONTHEADFOOT message.
Parameters
The Header parameter is used to specify the header text. The ColLen parameter is used to specify the widths of each column in inches. The position of the first column is always the left margin. There is approximately one character distance between each column. To change the distance between the columns use the CONTROL message. To set the first page header use the CONTROL message. The ColHeader parameter is used to set the column headers.
J
At 29 JUN 2009 08:24AM Bob Orsini wrote:
John, the control message is obsolete and will be removed in the next release. The column spacing only applies to using the Textcol parameter and workis in conjuction with the collen,colhdr and coljust in the header command and the texcol command.
At 05 JUL 2009 05:26AM John Godfrey wrote:
Thanks Bob
I still have legacy reports from Arev which have come across into OI pretty well. So old Rbasic syntax like Header & Footer are still useful. Allowing programmer access to shading on columns and rows for such legacy reports would be heaven!
John
At 09 JUL 2009 08:46AM Bob Orsini wrote:
I was in error when I said the control option would be removed. Only the column spacing will be removed. The other options will remain but keep in mind these options are for the first page only.