Recent

Author Topic: Word automation with ole  (Read 2401 times)

Danccce

  • New member
  • *
  • Posts: 7
Word automation with ole
« on: August 27, 2014, 04:36:20 pm »
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

  • Hero Member
  • *****
  • Posts: 3051
« Last Edit: August 27, 2014, 07:29:45 pm by typo »