예제 #1
0
        public static void PrintBySpecificPrinter()
        {
            string MyDir = @"Files\";
            //Load the presentation
            PresentationEx asposePresentation = new PresentationEx(MyDir + "Print.pptx");

            //Call the print method to print whole presentation to the desired printer
            asposePresentation.Print("LaserJet1100");
        }
예제 #2
0
        public static void PrintByDefaultPrinter()
        {
            string MyDir = @"Files\";
            //Load the presentation
            PresentationEx asposePresentation = new PresentationEx(MyDir + "Print.pptx");

            //Call the print method to print whole presentation to the default printer
            asposePresentation.Print();
        }