Duplicate PostScript Font Names in VB Printer.Fonts List

ID Number: Q75092

1.00

WINDOWS

Summary:

When a PostScript printer driver is active in Microsoft Windows 3.0,

the Fonts(index%) property of Visual Basic's Printer object may return

one or more duplicate font names at run time. This problem is caused

by Microsoft Windows 3.0 itself (and is not caused by Microsoft Visual

Basic programming system version 1.0 for Windows).

Microsoft has confirmed this to be a problem with Microsoft Windows

version 3.0 (buglist3.00). We are researching this problem and will

post new information here as it becomes available.

More Information:

The 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 Sub

In some cases, when a PostScript printer is active in Windows, one or

more fonts are listed twice.

Additional reference words: 1.00 3.00