PRINT POWER POINT PPTX PROGRAMITICALLY USING C#

K

kashif

HI,, AM WORKING ON PRINTING POWER POINT SLIDES USING C#, BUT AM GETTING SOME
ERROR AS MT PPTX IS STACKING UP IN PRINTER BUT NOT ABLE TO PRINT, A VIRTUAL
VIEW OF THE CODE IS BELOW,AM EVEN STUCK IN SETTING RULES TO MY POWER POINT
SAYING THEM PROGRAMITICALLY THESE SLIDES CANNOT BE PRINTED, PLEASE DO HELP ME
OUT IN RESOLVING THIS ISSUE,

SUMMARY:
1: PRINTING POWERPOINT FILES USING C#
2:SETTING RULES TO PPTX SLIDES , SAYING FOLLOWING SLIDES CANNOT BE PRINTED,
BOTH TO BE DONE PROGRAMITICALLY

THANK YOU IN ADVANCE







powerpoint.Application apcprint = new powerpoint.ApplicationClass();
powerpoint.Presentations presprint = apcprint.Presentations;
powerpoint.Presentation preprint = null;
preprint = presprint.Open("c:\\a.pptx", officecore.MsoTriState.msoCTrue,
officecore.MsoTriState.msoCTrue, officecore.MsoTriState.msoFalse);
preprint.PrintOptions.PrintInBackground = 0;
preprint.PrintOptions.ActivePrinter = "kyocera.Mita F5-3800 KX";
preprint.PrintOut(1, 4, @"Kyocera.Mita F5-3800
KX",1officecore.MsoTriState.msoFalse);
preprint.Close();
 
K

kashif

ya simple presentations are getting printed,, hey how can i restrict from a
few of those selected slides getting printed
 

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