
Detecting Print Jobs when quitting Word
Seems like this should be a simple one, but I can't find
the right Word property for what I need. Here's the
deal...
I have a bunch of word docs that get created and saved
automatically through vb/vba and word macros. When the
process is done, my application sends a number of word
docs to the printer, then closes Word. But, often I get a
message from Word telling me that if I quit now, I'll lose
my pending print jobs.
What I would like to do is query some property in Word
until it says "ok, there aren't any jobs being sent to the
printer". Then I can gracefully close Word without fear
off getting this message.
If it matters, I'm using Word in the Office 97 bundle.
Any ideas?
Thanks much.
-jd