Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending control codes to a port
Message
 
 
To
03/05/2000 14:04:52
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00365693
Message ID:
00365916
Views:
28
chr(27) + chr(112) + ... or chr(0x1b) + chr(0x70) + ...

You can use the MSCOMM control to talk to the serial port to send it the above strings.

>How can I send the following control codes to a port on my computer to get a cash draw to pop open. decimal = 27-112-0-64-240
>or hexidecimal=1B-70-00-40-F0.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform