public static void Run()
{
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_Rendering();
try
{
// Load the presentation
Presentation presentation = new Presentation(dataDir + "Print.ppt");
// Call the print method to print whole presentation to the desired printer
presentation.Print("Please set your printer name here");
}
catch (Exception ex)
{
Console.WriteLine(ex.Message + "\nPlease set printer name as string parameter to the Presentation Print method");
}
}
}