We have a stock control database that uses barcode printers attached to COM1. We have recently upgraded the PC's to new XP machines and now the barcode printers wont work as XP doesnt allow access sufficient access.
I am trying to write a small module using MSComm that will let me print out to COM1, as I have pretty much zero programming experience this is proving to be tricky...
This is my code so far
NTLCODE is a small .BAS file which is sent to the printer and tells it how to position the data on the label, I am trying to get the printer to printout the text from text box 1...
When I click the command button nothing happens????
Anyone have any clues as to my problem....
I am trying to write a small module using MSComm that will let me print out to COM1, as I have pretty much zero programming experience this is proving to be tricky...
This is my code so far
Private Sub Command1_Click()
Dim Instring As String
MSComm1.CommPort = 1
MSComm1.Settings = "9600,N,8,1"
MSComm1.rtsenable = True
MSComm1.PortOpen = True
MSComm1.Output = "NTLCODE"
MSComm1.Output = Text1.Text
MSComm1.PortOpen = False
End Sub
NTLCODE is a small .BAS file which is sent to the printer and tells it how to position the data on the label, I am trying to get the printer to printout the text from text box 1...
When I click the command button nothing happens????
Anyone have any clues as to my problem....