i have tried to write to code below but the poblem is it doesnt print.. the open.txt file is corrupt.. the content become like this
Attachment 93627
Attachment 93627
Code:
FileOpen(1, AppDomain.CurrentDomain.BaseDirectory & "open.txt", OpenMode.Output)
PrintLine(1, Chr(27) & Chr(112) & Chr(0) & Chr(25) & Chr(250))
FileClose(1)
Shell("print /d:com1 open.txt", AppWinStyle.Hide)