Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine the current printer font/size/style
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01065407
Message ID:
01065970
Views:
12
G'mornin John,

>Does anyone know if there is a command (or workaround), similar to WFONT() for windows, that will allow you to determine the current printer font (i.e., whatever was set by the most recent SET PRINTER FONT command)?

Hmmmm, a quick scan of VFP9 help shows that the SET() function has no way to retrieve the font info you're seeking. I'm guessing you'll have to save it yourself in a memvar or a table.

>In this application, we are printing with ? and ??, using SET PRINTER FONT to control the font/size/style.

Interesting. How well does this work in VFP with the wide variety of windows-dependant and cheap GDI printers?

HTH,
Randy
Randy Bosma
VFP - Because life is too short to code in something else...
Previous
Reply
Map
View

Click here to load this message in the networking platform