我想用类似Word的方法实现在Delphi中打印PPT的功能。如下,会报错
var msppt : OleVariant;
begin
  msword:=createoleobject('PowerPoint.application');
  msword.documents.open('c:\test.ppt');
  msword.PrintOut;
end;我尝试了用了几个PowerPoint控件,好像都不支持打印功能。其中有个 
PowerPointPresentation1.printout()运行时报错“未指定的错误”