Right justified ADDTABLE (OpenInsight 32-Bit)
At 11 JAN 2005 04:57:28PM Matthew Crozier wrote:
I've got a problem with OIPI reports in 7.1 that use ADDTABLE with right justified columns. Apparently, if the column width exceeds some value (not sure what determines this), then the column extends beyond the right end of the page and the right justified is not shown.
For example, this occurs with the following code
colwidth=1.901 ;* inches call set_printer( 'INIT','','','','', 4) call set_printer( 'ADDTABLE', '~]': (colwidth * 1440), '', 'data', '', 13421772) call set_printer( 'TERM')If colwidth is changed to 1.9, the data prints as expected.
It all works OK in OI 4.1.3. Is this a known problem?
Cheers, M@
[img]http://www.vernonsystems.com/images/logo_main.gif[/img]
At 11 JAN 2005 06:22PM Frank Tomeo wrote:
Matt,
Using your code, I cannot seem to duplicate your problem. Did you try calling the addtable like:
rv=set_printer( 'ADDTABLE', '~]': (colwidth * 1440),
, 'data',
, 13421772)…and seeing if (rv) gives you any clues?
Also, I see you are at 7.1 from 4.1.3. Did you update straight to 7.1 or did you update in steps?
ftomeo@srpcs.com
At 11 JAN 2005 07:31PM Matthew Crozier wrote:
Hi Frank,
Thanks for testing that. The return values are '1' for each set_printer call. But trying the next most obvious thing - turning UTF8 mode OFF - fixes it. So it apparently is specific to UTF8 mode being ON as well.
Cheers, M@
[img]http://www.vernonsystems.com/images/logo_main.gif[/img]
At 12 JAN 2005 08:31AM Bob Orsini wrote:
This is corrected and will be in 7.1.1.
At 12 JAN 2005 03:47PM Matthew Crozier wrote:
Cheers, Bob
![]()
M@