Bismacom
asked on
Command for POS Display
I can't get proper output on my POS Pole Display using my Visual Basic
In QBasic, I type
Open "COM1:9600,N,8,1" for output as #1
Print #1, Chr$(12)
Print #1, "123456789"
Close
It would clear screen and add the string on display
but in Visual Basic, when I type
Open "COM1" for output as #1
Print #1, Chr$(12)
Print #1, "123456789"
Close #1
it comes out only unknown symbols.
Is there any mistake on the VB Coding? I was to execute the code in Hex 1B 51 41 n OD to write string n to the upper line.
In QBasic, I type
Open "COM1:9600,N,8,1" for output as #1
Print #1, Chr$(12)
Print #1, "123456789"
Close
It would clear screen and add the string on display
but in Visual Basic, when I type
Open "COM1" for output as #1
Print #1, Chr$(12)
Print #1, "123456789"
Close #1
it comes out only unknown symbols.
Is there any mistake on the VB Coding? I was to execute the code in Hex 1B 51 41 n OD to write string n to the upper line.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.