When I select to print a Word document from tray 4 of the printer, it keeps
that setting for all documents that I open afterwards.
How can I set this for one document only, so that the next document prints
from the default tray again ?
For a PCL printer, you can address the printer directly from the document
using a PRINT field to send the relevant tray selection command, but if you
simply want to print occasionally from Tray 4 a simple macro attached to a
toolbar button would be a plan:
Sub PrintTray4()
With Options
.DefaultTray = "Tray 4"
End With
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Copies:=1
With Options
.DefaultTray = "Use printer settings"
End With
End Sub
http://www.gmayor.com/installing_macro.htm
If you want to use this technique to switch printers - see
http://www.gmayor.com/fax_from_word.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org