Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Form To File and special characters
Message
From
22/03/1999 05:14:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00200281
Message ID:
00200395
Views:
10
>I've been using report form to file for a long time. That is the best way to get fast outputs to dot-matrix printers. My only problem is when I have to use special characters for example Ñ,ñ,á, etc. These a useful in spanish.
>
>Is there a way to print these special characters?
Plinio,
If you mean ".. to file ASCII" and then a DOS print with a generic text printer then use ansitooem().
report form myreport to file myText ASCII
hd=fopen("mytext.txt",12)
lnSize = fseek(hd,0,2)
=fseek(hd,0,0)
lcText = fread(hd, lnSize)
=fseek(hd,0,0)
=fwrite(hd, ansitooem(lcText),lnSize)
=fclose(hd)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform