CALCMAXLEN Very Strange Behaviour (OpenInsight 32-Bit)
At 18 NOV 2006 11:25:19AM Kauko Laurinolli wrote:
On my W2000 workstation and on my test W2003 server EXT returns proper value 3 but on my production W2003 server it returns 1 ?
Why is this happening? This error totally screws up my line wrapping routine. I have spent all day testing this and limited the error to this code.
rv=Set_Printer("INIT",……)
rv=Set_Printer("FONT", Font, 120)
rv=Set_Printer("CALCMAXLEN", 'AAA', 2)
EXT=Get_Printer("CALCMAXLEN")
msg(EXT)
Stat=Set_Printer("TERM")
At 18 NOV 2006 11:10PM Kauko Laurinolli wrote:
Further on this:
If string is 'AA' or 'AAA' or 'AAAA' or 'AAAAAA' it fails.
If it is 'AAAAA' it gives correct response but if it is 'AAMMA' it fails?
Incresing the string length gives erratic results, someting right sometimes wrong?
At 30 NOV 2006 04:20PM Kauko Laurinolli wrote:
For info Bob Orsini solved this.
This Terminal Server was set for Swedish language and the decimal character was (,) as usual.
As soon as I changed language to US English it changed also the decimal character to (.) and now it all works right.