command line switch to convert PPT -> jpeg with page nubmer by macro

G

Guest

hi, I have a program that invokes powerpnt.exe to covert a ppt file slides into jpeg

the command I would run looks like this

d:\mspptexp.exe d:\input\b.ppt -out d:\output\b -format jp

it creates a folder b which contains all the slides in jpeg format

The PPT has a macro that will add page numbers to slide. When I open the file in PowerPoint and use the Save As, Format = jpeg, and 'all slides', the jpegs that are genereated contains correct page number

however, when I invoke the conversion through the command line above, all the jpegs has page number of '1' (even though filename does indicate different slide

I am guess that maybe there is some switch that I can add to the command line so that powerpnt.exe will also execuate the macro during the jpeg creation. But I cannot find any info on MS sites

thank you for your help in advance

Charles
 
S

Shyam Pillai

CLin,
The incorrect slide number was essentially a bug which was introduced when
the Slide Export method was invoked. Obivously your program is using that
call instead of the Presentation Export method.

Regards
Shyam Pillai

http://www.mvps.org/skp
 

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