Hello,
I am trying to send some hex code to a com printer port.
This is the code:
set printer to name \\computername\printername
??? '<STX>1 0<ETX>'
set printer to
The second line needs to be in hex and I can't figure out how. I have tried:
??? '0x020x310x300x03'
??? '\x02\x31\x30\x03'
If anyone can help it would be greatly appreciated.
I am trying to send some hex code to a com printer port.
This is the code:
set printer to name \\computername\printername
??? '<STX>1 0<ETX>'
set printer to
The second line needs to be in hex and I can't figure out how. I have tried:
??? '0x020x310x300x03'
??? '\x02\x31\x30\x03'
If anyone can help it would be greatly appreciated.