Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27474

Print to EPSON TM-U220D problem

$
0
0
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

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)

Attached Images
 

Viewing all articles
Browse latest Browse all 27474

Trending Articles