Printing large mail merge document

T

Thorkild Kronborg

Hi Jonathan
I got the same problem as Andy (see below).
I have a large mail merge document (about 800 pages) and
get an error trying to alter the value of FirstPageTray
in my VBA macro, but when I cut the document in smaller
parts (200 pages) my macro doesn't fail. So it's not
because I use an improper value, but a problem with Word
I guess.
With the large document the FirstPageTray property has an
initial value of 9999999, with the small one the value is
2.
Also if I manually select the paper tray with headed
paper there is a difference between the large document
and the small one. For the large document the first page
off each section doesn't print on the headed paper. For
the smaller document it does.
Do you know anything new about this problem? Have you
made some code that can set the printer bin - not using
Word's FirstPageTray?


Thanks

Thorkild Kronborg
e-mail:[email protected]
 
D

dz

Maybe I'm misunderstanding your situation, but I'm a
little confused why you're changing the FirstPageTray
value. If you're just attempting to select the
FirstPageTray itself, you can actually specify that in the
macro. For example:

With ActiveDocument.PageSetup
.FirstPageTray = wdPrinterLargeCapacityBin
.OtherPagesTray = wdPrinterLowerBin
End With

You can figure out the actual printer's bin names by just
recording keystrokes of your selections.

good luck.
 

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