Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print with certain font
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00139536
Message ID:
00145125
Vues:
39
>The TYPE command appears to use the current font settings for the screen. Try the following:
>
_Screen.FontName = 'Courier'
>_Screen.FontSize = 16
>type thisfile.txt to print
>
>
>>Am I able to execute "type thisfile.txt to prin" and have the contents of thisfile.txt come out with the font of my choice? I inserted
>>"SET PRINTER FONT 'Courier', 16" before and no difference.

***********Here's what I did but made no difference.
copy memo contents to pfile.
_Screen.FontName = 'Courier'
_Screen.FontSize = 14
type pfile. to prin

IT Still comes out smallish text. :(
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform