Print to different trays

K

Ket

hello,

I am using Word 2k and windows 2k. After completing a mailmerge, is it
possible to print the first page from tray 1 and the remaining pages
from tray 2?

TIA

Ket
 
R

Ram

Yes you can.

foreach (Word.Section mySection in
wrdDoc.MailMerge.Application.ActiveDocument.Sections)
{
mySection.PageSetup.FirstPageTray =
(Word.WdPaperTray)TrayLocation1;
mySection.PageSetup.OtherPagesTray =
(Word.WdPaperTray)TrayLocation2;
}

Look at Word.WdPaperTray.enums for more tray options and suit your
printer needs.

Ram
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top