T
TimB
I am trying to send a control string to the LPT1 port. I have no problem
doing it in VB6... but for the life of me I can't do it in VB.NET.
All I get is an error with the code below .NET does not seem to like the
"LPT1" in the
fileopen. Don't have a clue what else to put in there... HELP ME PLEASE.
FileOpen(1, "LPT1", OpenMode.Output, OpenAccess.Write)
PrintLine(1, Chr(27) & Chr(112) & Chr(0) & Chr(48))
PrintLine(1, Chr(27) & Chr(112) & Chr(1) & Chr(49))
FileClose(1)
Thanks,
TimB
doing it in VB6... but for the life of me I can't do it in VB.NET.
All I get is an error with the code below .NET does not seem to like the
"LPT1" in the
fileopen. Don't have a clue what else to put in there... HELP ME PLEASE.
FileOpen(1, "LPT1", OpenMode.Output, OpenAccess.Write)
PrintLine(1, Chr(27) & Chr(112) & Chr(0) & Chr(48))
PrintLine(1, Chr(27) & Chr(112) & Chr(1) & Chr(49))
FileClose(1)
Thanks,
TimB