!!iTS INTERESTING!!!!How do i print power point files programitica

K

kashif

Hi. Is their any way out to apply rules to some slides in a ppt saying the
following slides cannot be printed, and applying those rules even while
printing the presentation,.... ALL THESE HAS TO BE DONE PROGRAMITICALLY
 
D

David M. Marcovitz

Hi. Is their any way out to apply rules to some slides in a ppt saying
the following slides cannot be printed, and applying those rules even
while printing the presentation,.... ALL THESE HAS TO BE DONE
PROGRAMITICALLY

I could be wrong, but I don't think you can specify that a slide is not
for printing if you are going to print with the regular interface.
However, there are a number of things you could if you are doing this
programatically. For example, you could set the slides you don't want
printed to be hidden and then use

ActivePresentation.PrintOptions.PrintHiddenSlides = False

Alternatively, when you are printing, you can specify exactly which
slides to print. Here is an example copied directly from the VBA help:

With ActivePresentation.PrintOptions
.RangeType = ppPrintSlideRange
With .Ranges
.ClearAll
.Add 1, 1
.Add 3, 5
.Add 8, 9
End With
End With
ActivePresentation.PrintOut

I'm sure there are lots more things you can do depending on your specific
needs.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
K

kashif

Thank You david , your post did turn out to be very useful, but please can
you say me ho can i apply it using c# not vb
 
D

David M. Marcovitz

Sorry, I don't speak C#. Someone else will have to do the translation.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 

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