The information in this article applies to:
SUMMARYWhen you use the ActivePrinter property in Word to set the current printer, you also set the printer you select to be the default printer for the system. If you do not want to change the setting for the default system printer, do not use the ActivePrinter property. MORE INFORMATIONTo select a new printer without having Word change the default system printer, use the WordBasic FilePrintSetup method with the DoNotSetAsSysDefault flag set to True. For example, instead of using the following code:
Use the following:
REFERENCESFor additional information about the ActivePrinter property, please click on the article numbers below to view them in the Microsoft Knowledge Base: Q162239 Sample Code to Retrieve the Name of the Active Printer Q177275 WD97: How to Create a Macro to Change Printer or Fax Driver(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Richard R. Taylor, Microsoft Corporation. Additional query words:
Keywords : kbAutomation KbVBA kbWord kbGrpDSO kbOffice2000 kbExcel97 kbDSupport kbexcel2000 |
Last Reviewed: August 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |