Article ID: 122709
Article Last Modified on 8/16/2005
Sub MAIN 'Retrieve and set information about the current default printer Dim FPS As FilePrintSetup GetCurValues FPS 'Set the default Printer DefaultPrinter$ = FPS.Printer FilePrintSetup .Printer = "HP LaserJet IIISi on LPT1:" 'Send the document to the currently selected printer FilePrint 'Reset to the original default printer FilePrintSetup .Printer = DefaultPrinter$ End SubIf you have more than one printer, you can create one macro for each printer and change the name of the printer to reflect the printer you are using. Make sure the text exactly matches the printer description. To obtain this information, click Print on the File menu and then choose the Printer button.
Additional query words: 6.0 word7 word95 winword ntword wordnt word6 macro printer switch fax default change
Keywords: kbhowto kbmacroexample KB122709