The information in this article applies to:
SUMMARYThis article shows how you can use OLE automation to open the Printer Setup dialog box in Word 97 for Windows and change the default Windows printer. MORE INFORMATIONMicrosoft Word has the ability to open a Printer Setup dialog box that allows the user to select another printer as the default printer. The following code demonstrates how to accomplish this task:
When the code executes, a Printer Setup dialog box appears that contains
the current Windows printers. From this dialog box, you can reset the
current default printer. After choosing the printer, Word briefly appears
but then closes.
REFERENCES
Microsoft Word Visual Basic Help
Additional query words: kbVFp600 kbVFp500a kbOLE
Keywords : |
Last Reviewed: August 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |