PRB: Printer Object Fails to Track Default Printer (254925)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q254925 SYMPTOMS
After you change the Printer.Orientation property, the Printer object does not track the default printer again.
CAUSE
The Printer.Orientation property call changes the Printer.TrackDefault property to False so that the Printer object will not use the default orientation.
RESOLUTION
To resolve this problem add the following line of code before the line to change printer settings:
Printer.TrackDefault = True
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbCmnDlgPrint kbprb kbprint KB254925 |
---|
|