Hi
I am trying to access the status of a receipt printer through MSCOMM using the following code:
mscomm.portopen=true
mscomm.output=chr(29)+chr(114)+chr(1)
do while mscomm.buffercount=0
enddo
lstatus=mscomm.input
mscomm.portopen=false
This returns one character into lstatus but I cannot figure out what to do with it. lstatus has a TYPE() of U.
Any suggestions?
Malcolm P
I am trying to access the status of a receipt printer through MSCOMM using the following code:
mscomm.portopen=true
mscomm.output=chr(29)+chr(114)+chr(1)
do while mscomm.buffercount=0
enddo
lstatus=mscomm.input
mscomm.portopen=false
This returns one character into lstatus but I cannot figure out what to do with it. lstatus has a TYPE() of U.
Any suggestions?
Malcolm P