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:
00145412
Views:
28
>Strange, I went back and tested under 3.0b, 5.0a and 6.0 using only the SET PRINTER FONT command and it worked fine regardless of the _screen properties. I even tested using fonts that didn't exist (SET PRINTER FONT "MOO", 36) and it still printed large text, but used the Ariel font. What type of printer are you using? I'm testing on an HP LaserJet.

ACTUALLY the 3lines below had no effect
[_Screen.FontName = 'Courier'
_Screen.FontSize = 14
type pfile. to prin]
BUT the below worked"
[set prin off
set prin to
copy memo contents to pfile. addit
SET PRINTER FONT 'ms serif', 12
type pfile. to prin]
although I had set headings off, the printjob was preceeded with a blank formfeed. Thanks for your help.
"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