Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print with certain font
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00139536
Message ID:
00145125
Views:
38
>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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform