Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Form To File and special characters
Message
De
22/03/1999 05:14:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00200281
Message ID:
00200395
Vues:
9
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform