.selection.typetext("this is testing") *PrintOut(Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName, ActivePrinterMacGX, ManualDuplexPrint) * All params are optional - so you could only include background option .activedocument.printout(.f.)Converted code :
appword = createobject('word.application') with appword .visible = .t. && So we can see word app .documents.add() .selection.typetext("this is testing") .activedocument.printout(.f.) endwithCetin