How can I use box style characters from fonts? (Like DOS)

Post Reply
User avatar
Maurilio Viana
Posts: 252
Joined: Tue Oct 25, 2005 2:48 pm
Location: Garça/Garza/Heron City - Brazil
Contact:

How can I use box style characters from fonts? (Like DOS)

Post by Maurilio Viana »

Is possible use characters to draw box (an easy way) like old times of DOS?
I refer to Alt + 201, Alt + 202... Alt + 177, etc
If I press Alt + 201 (for example) in MS Word or OpenOffice Write the box character is displayed. But if I try use it in my application other character is displayed (in gets, reports, etc.).
I used a font editor to view a .TTF file and the box characters are into it.
How can I "access" these characters?

Regards
Maurilio
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

Hi Maurilio

I was having the same requirement earlier. I give my previews and
printouts to my users purely in DOS. I use TDOSPRN for printing as well
as preview of the outputs.

My application in ca-clipper was having some outputs with boxes and
I wanted my users of the same application in windows to have a similary
feel and look of my dos application outputs.

I have taken the help of a FONTEDITOR and copied COURIER font to some
name and edited the characters exactly as dos based box characters of
those ascii values which are equivalent to their dos ascii values.

I referred the same ascii values to draw the boxes in my windows based
application and I could get the required output which is attached here in
the link.

http://hyperupload.com/download/029f2f5 ... r.jpg.html

- Ramesh Babu P
Post Reply