Hi,
I want to print reports and redirect output to a file or a PDF file using special characters to draw a box,
for example chr(218) for left upper corner, chr(191) right upper corner,chr(217) right lower corner, etc.
┌───┐
└───┘
I already found here that these special characters should be found in the IBM850 codepage, i try with the following code but it does't work.
DEF VAR ttt AS INTEGER.
Repeat ttt = 191 to 218:
DISP ttt CHR(ttt,"ibm850").
End.
When i run the following:
Display chr(192), Progress show this character: À
but i want this character: └
In this site I read that the ibm850 codepage already has the characters that i want, if that where true i should be capable to run the next code and get what i want without changing the startup parameters:
DISP CHR(192,"ibm850").
With this Progress change the output display, it display a dot "." not the └ that i want.
I understant that i can change the ibm850.dat file and 'add' the characters that i want, then with the command proutil -C codepage-compiler generate a new convmap.cp.
My question is: how i can change the ibm850 to add the characters that i want?.
Or, do you know a easier way to display this special characters.
Please, help.
I want to print reports and redirect output to a file or a PDF file using special characters to draw a box,
for example chr(218) for left upper corner, chr(191) right upper corner,chr(217) right lower corner, etc.
┌───┐
└───┘
I already found here that these special characters should be found in the IBM850 codepage, i try with the following code but it does't work.
DEF VAR ttt AS INTEGER.
Repeat ttt = 191 to 218:
DISP ttt CHR(ttt,"ibm850").
End.
When i run the following:
Display chr(192), Progress show this character: À
but i want this character: └
In this site I read that the ibm850 codepage already has the characters that i want, if that where true i should be capable to run the next code and get what i want without changing the startup parameters:
DISP CHR(192,"ibm850").
With this Progress change the output display, it display a dot "." not the └ that i want.
I understant that i can change the ibm850.dat file and 'add' the characters that i want, then with the command proutil -C codepage-compiler generate a new convmap.cp.
My question is: how i can change the ibm850 to add the characters that i want?.
Or, do you know a easier way to display this special characters.
Please, help.