I am using Lotus Script to print a MS PowerPoint Presentation and need to specify the output type to print speaker notes instead of slides.
When setting the PrintOptions.OutputType I am getting the error "Invalid Enumeration Value." Can you review my code and let me know what I am doing wrong or what the valid types are?
Code- Call object.extractfile(fname) Set app = createobject "PowerPoint.application") app.visible = True app.presentations.open(fname) Print("Printing PowerPoint Attachment") app.ActivePresentation.PrintOptions.OutputType = ppPrintOutputNotesPages app.ActivePresentation.PrintOut
This is really a Powerpoint Question and I'm not sure of an answer. However, the code you submitted is assigning a variable called ppPrintOutputNotesPages to the output type. This variable is not defined anywhere in the code you submitted. If it isn't supposed to be a variable, maybe it should be a string in quotes.
Dig Deeper on Domino Resources - Part 7
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response. Continue Reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead. Continue Reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ... Continue Reading