Recorded Macro Does Not Retain Printer SelectionLast reviewed: August 4, 1997Article ID: Q113240 |
6.00 6.00a
WINDOWS
kbusage kbmacro
The information in this article applies to:
SYMPTOMSWhen you record a macro in Word 6.0 for Windows, it does not retain the current Printer setting. The only time Word records the Printer setting is when you choose the Set As Default Printer button in the Printer Setup dialog box. This differs from Word 2.x functionality, in which the macro recorder does retain the Printer setting, even when you do not switch to a different default printer.
CAUSEBy design, Word 6.0 always uses the default Windows printer driver, so the macro recorder does not record information about the printer driver unless you change to a different default printer.
WORKAROUNDIf you want your Word macro to print using a specific printer driver, use the FilePrintSetup command. To record this macro, turn on the macro recorder and perform the following steps. Note: This workaround resets your default Windows printer setting.
Sub MAIN FilePrintSetup .Printer = "HP LaserJet 4Si/4Si MX on LPT1:" FilePrint .AppendPrFile = 0, .Range = "0", .PrToFileName = "", \ .From = "", .To = "", .Type = 0, .NumCopies = "1", .Pages = "", \ .Order = 0, .PrintToFile = 0, .Collate = 1, .FileName = "" End SubKbcategory: kbusage kbmacro KBSubcategory: |
Additional reference words: 6.00 6.00a missing winword word6
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |