实在是想不通怎么弄!别的都可以实现 就是ppt不好用!哪位高手 给讲解讲解!要是有代码最好了

解决方案 »

  1.   

    使用虚拟打印机打印Microsoft.Office.Interop.PowerPoint.Application
      

  2.   

    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();