How to find whether PowerPoint has finished printing?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Experts,

In the case of word application object, we have the
"backgroundprintingstatus" property which could be used to find out whether
the application object is still rendering to the printer.

For example, the following code snippet requests for background printing and
waits until it is over (although, it is a tight loop which may need to be
made better)
.PrintOut Background:=True
While .Application.BackgroundPrintingStatus <> 0
Wend

Is there any equivalent with powerpoint application object?

My target is to close the invisible power point application object, once the
printing is completed. If the applicaiton object is closed before the
printdata has been sent, then the presentation does not get printed.

Please do help me with any possible ideas, in this regard.

Thanks in advance,
Mohan
 
Hello Shyam Pillai,

Target was realized by the pointers provided in the link. Sincere thanks
for pointing me to the right solution.

I was more inclined to use background printing, because of the impression
that foreground printing will pop up some "Printing Progress" dialogs. But,
with office 2003 power point application object running in XP, I don't see
such a dialog for foreground printing.

Incidentally, I am also struck with a way to skip password dialogs which I
have put in another thread. John Wilson has given the reply, citing an idea
given by you. I will be checking the same. Hence double thanks to you :)

Regards.
Mohan

p.s.: I am new to VBA and I was actually struggling hard to make the opened
presentation invisible. Finally, I explored with different options in the
open method to find about the usage of WithWindow to have the value of False
to achieve it. After this I was struck up with background printing. If I had
seen http://skp.mvps.org/ppt00025.htm earlier, where you point about
WithWindow = False possibility also, I would have done it faster without
much effort.
 

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

Back
Top