BUG: Duplicate PostScript Font Names in VB Printer.Fonts ListLast reviewed: June 21, 1995Article ID: Q75092 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, version 2.0- Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMSWhen a PostScript printer driver is active in Microsoft Windows version 3.0, the Fonts(index%) property of Visual Basic's Printer object may return one or more duplicate font names at run time. This will not occur in either Visual Basic version 1.0 or 2.0 if you are using Microsoft Windows version 3.1.
CAUSEThis problem is caused by Microsoft Windows version 3.0 itself, not by Microsoft Visual Basic.
STATUSMicrosoft has confirmed this to be a problem with Microsoft Windows version 3.0. The problem was corrected in Microsoft Windows version 3.1.
MORE INFORMATIONThe following program displays the list of font names available for the PostScript printer currently selected in the Windows Control Panel:
Sub Form_Click () For J% = 0 to Printer.FontCount - 1 Print Printer.Fonts(J%) Next J% End SubIn some cases, when a PostScript printer is active in Windows, one or more fonts are listed twice.
|
Additional reference words: 1.00 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |