BUG: VB Printer.Width/Height Values Incorrect for PlotterLast reviewed: June 21, 1995Article ID: Q106495 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, version 3.0
SYMPTOMSIf you set up the HP Draftmaster II plotter with a paper size of A0 in the Windows Control Panel, Visual Basic returns incorrect values for the Printer.Width and Printer.Height properties. If you set the plotter's paper size to A3 or A4, then Printer.Width and Printer.Height return correct values.
CAUSEThe Printer.Width and Printer.Height properties are designed to receive an integer only. Plotter paper sizes often exceed an integer. This causes an overflow in the Width and Height properties.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONSteps to Reproduce Problem
|
Additional reference words: buglist3.00 3.00 Hewlett-Packard H-P
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |