Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple printing question
Message
From
06/10/2005 13:23:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Simple printing question
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01056848
Message ID:
01056848
Views:
57
Hey all,

I feel incredibly stupid for asking this, but I can't figure it out...

I have taken to the idea of using MODIFY FILE as a simple means of displaying/printing small pieces of output on a utility screen I built. I can control the font, caption, etc. by defining a window and then just MODIFY FILE WINDOW. It works great, and the Courier font displays everything in line.

Our app just has the standard "File | Print" menu active, so I thought I would see if printing works while that MIDFY FILE screen is displayed. It does! But the font reverts back to Arial or Helvetica, and everything is out of line. I cannot get Courier to be that system print font. I tried _SCREEN.FontName and SET PRINTER FONT (or something like that), but File | Print still uses some other font.

I know I am just missing a setting somewhere. I need to be able to set that print font to Courier at run-time to match what is displayed by MODIFY FILE. Any help would be greatly appreciated!!!!

Thanks,
JoeK
Next
Reply
Map
View

Click here to load this message in the networking platform