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:
00145492
Views:
32
So, the difference is the font used? Strange. You do have Courier installed on the machine right? Perhaps the Courier font files are corrupt? Can you use it in WordPad?

>>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.
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform