PRB: Font Dialog Box Lists Fonts Not Supported by Printer (137035)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q137035 SYMPTOMS
The Font dialog box shows fonts with certain styles not supported by the
current printer, even after setting the Flags property in the Common Dialog
control to the PrinterFonts constant.
CAUSE
If the Flags property is set to PrinterFonts only, the Font dialog box may
still allow graphic device interface (GDI) simulation.
RESOLUTION
This can be resolved by setting the Flags property to two constants merged
together using the Or operator. These constants are PrinterFonts and
NoSimulations.
STATUS
This behavior is by design.
REFERENCES
For a more complete description of the Flag property constants, please see
the Language Reference, the Constant.txt file in Visual Basic 3.0, and the
Object Browser in Visual Basic 4.0.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbprb KB137035 |
---|
|