Hi, I have a macro setup to print to certain printer. After I run the macro
it sets that printer as default. Is it possible to run the macro and not have
word retain this printer as default. This is the part I think sets the
printer as default:
'printer instructions:
ActivePrinter = "\\Harmonfs3\certified"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="",
PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True,
PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
WordBasic.FileClose 2
Bye:
Any help would be appreciated,
Domenic
Jean-Guy Marcil - 15 Sep 2005 15:26 GMT
Domenic was telling us:
Domenic nous racontait que :
> Hi, I have a macro setup to print to certain printer. After I run the
> macro it sets that printer as default. Is it possible to run the
[quoted text clipped - 11 lines]
> PrintZoomPaperWidth:=0, _ PrintZoomPaperHeight:=0
> WordBasic.FileClose 2
Save the current Active Printer in a variable before you start your
procedure, run your stuff, then reset the Active Printer.

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org