The problem with this code is when it prints the open.txt, in only open the cash drawer after printing.. can they both execute on the same time? How?
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)




Reply With Quote