Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Paperbin

Status
Not open for further replies.

Kleinen

Programmer
Dec 6, 2001
13
BE
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top