DotNetVirgin
New member
- Joined
- May 9, 2003
- Messages
- 2
In VB6 using the following code, sends the printer control characters and text string to the printer device connected to lpt1.
Open "lpt1" For Output As #1
Print #1, "<RC350,315><FL10><X4>: Send this string to printer"
Close #1
I am trying to recreate this functionality in vb.net. From what I have managed to find on the subject, which is not a lot, it is implied that you can use the Stream class to send data to a parallel port. However I cant find out exactly how to do this.
Thank for any help you can give.
Open "lpt1" For Output As #1
Print #1, "<RC350,315><FL10><X4>: Send this string to printer"
Close #1
I am trying to recreate this functionality in vb.net. From what I have managed to find on the subject, which is not a lot, it is implied that you can use the Stream class to send data to a parallel port. However I cant find out exactly how to do this.
Thank for any help you can give.