Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETFONT() & Installed Device Fonts.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00409567
Message ID:
00409689
Views:
28
Ed,

The commondialog activeX can indeed do this. Drop one on the form, on it's property dialog, select the Font page, set Flags to 1 to see screen fonts, 2 to see printer fonts or 3 to see both. Call the oCommonDialog.ShowFont() method and then look at the oCommonDialog.Object properties to see what was chosen ? oCommonDialog.Object.FontName. Look at the MSDN help file for more info about the flags you want to set. The commdlg.h file from VC holds all the values for the flags.

>I have a user with a printer that has a font cartridge with fonts that he wants to choose from when making mailing labels. My application uses GETFONT() to offer him a selection of available fonts for him to choose from but he says that his printer's internal fonts are not showing on the list.
>
>I do not have a printer with internal fonts to test this but, assumeing that this is correct, is there a way to include internal printer fonts when letting a user choose?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform