Hello everybody,
I am writing a program where the user can choose the paperbin to print a Word document.
The problem is that sometimes the printer uses the right paperbin and sometimes the printer uses another paperbin.
The printer is a Xerox 440st
Here is the code that does the printing
Printer.PaperBin = intBin
Set docWord = appWord.Documents.Open(strFolder & "\" & strFile)
TIA
ActiveDocument.PageSetup.FirstPageTray = intBin
ActiveDocument.PageSetup.OtherPagesTray = intBin
docWord.PrintOut Background:=False
docWord.Close
Set docWord = Nothing
I am writing a program where the user can choose the paperbin to print a Word document.
The problem is that sometimes the printer uses the right paperbin and sometimes the printer uses another paperbin.
The printer is a Xerox 440st
Here is the code that does the printing
Printer.PaperBin = intBin
Set docWord = appWord.Documents.Open(strFolder & "\" & strFile)
TIA
ActiveDocument.PageSetup.FirstPageTray = intBin
ActiveDocument.PageSetup.OtherPagesTray = intBin
docWord.PrintOut Background:=False
docWord.Close
Set docWord = Nothing