Problem printing large documents using Word macro

P

Pratima

I have written a Word macro that prints(to file) all
documents in a folder. It works fine with small files.
However, for large files(say > 2MB) the file is not
printed completely.There is no error as well.

Does anybody have a clue as to why this happens ?
 
C

Cindy Meister -WordMVP-

Hi Pratima,
I have written a Word macro that prints(to file) all
documents in a folder. It works fine with small files.
However, for large files(say > 2MB) the file is not
printed completely.There is no error as well.
since you don't show us the macro code, it's hard to say.
My best guess is that perhaps you haven't set background
printing to false (it's an Application.Option)? If you
haven't, then the macro code will (try to) continue before
the print job has completely spooled, which often causes
problems.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jan 24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:)
 

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