This example opens a Word for Windows 95 document, prints it, and closes the connection.

w = new ddelink()

w.initiate("winword","c:\my documents\myletter.doc")

w.execute("[FILEPRINT]")

w.terminate()

w = ""