Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Box Characters
Message
 
 
To
11/12/2001 10:34:03
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00592658
Message ID:
00593001
Views:
28
You have to tell program to use one of the fonts that includes "boxes", like FoxFont/FoxPrint or Terminal. If you have access to the source code than you can try to use
SET PRINTER FONT Terminal
>Hi all:
>
>I have an old Foxpro shareware program that prints calendars. Since upgrading my computer, the program prints out funny characters rather than lines.
>
>The relevant code in the program seems to be:
>
>private m.boxchars
>dimension boxchars[11]
>boxchars[ 1]=iif(m.nonlndraw,"+","Ú")
>boxchars[ 2]=iif(m.nonlndraw,"+","Â")
>boxchars[ 3]=iif(m.nonlndraw,"+","¿")
>boxchars[ 4]=iif(m.nonlndraw,"+","Ã")
>boxchars[ 5]=iif(m.nonlndraw,"+","Å")
>boxchars[ 6]=iif(m.nonlndraw,"+","´")
>boxchars[ 7]=iif(m.nonlndraw,"+","À")
>boxchars[ 8]=iif(m.nonlndraw,"+","Á")
>boxchars[ 9]=iif(m.nonlndraw,"+","Ù")
>boxchars[10]=iif(m.nonlndraw,"-","Ä")
>boxchars[11]=iif(m.nonlndraw,"|","³")
>
>My printer is a NEC Superscript 1450 and as far as I remember, it worked on my old system.
>
>Thanks for any help.
>
>Yossi Gourarie
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform