repo form myform to file myform.txt ascii *--- I got lines below from another. thanks him... DECLARE INTEGER CopyFile IN kernel32; STRING lpSrcFile, STRING lpDstFile, INTEGER bFail CopyFile("myform.txt","lpt1", 0)