Word automation with ole lazarus / 34-Windows ---------------------------------------------------------------------- Danccce · 2014-08-27 14:36 I try to print out an document using Word 2007 and ole. The command: Code: [Select]vMSWord.WordBasic.FilePrintSetup(Printer:='myPrinterName', DoNotSetAsSysDefault:=1);doesnt seem to work. I get a error message form EOleSysError (exception of the server). May someone has a hint for me? Best regards Marc ---------------------------------------------------------------------- typo · 2014-08-27 15:11 http://stackoverflow.com/questions/8748223/openoffice-automation- delphi See the example here: http://forum.lazarus.freepascal.org/index.php/topic,25621.msg155791.ht ml#msg155791