BUG: VB Printer.Width/Height Values Incorrect for Plotter (106495)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q106495 SYMPTOMS
If 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.
CAUSE
The 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.
STATUS
Microsoft 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.
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | kbbug KB106495 |
---|
|