Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control codes to Serial Port
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00406094
Message ID:
00406114
Views:
20
>Hi all
>Can somebody tell me how to program the serial port from FoxPro 2.5 for DOS, to send control codes to a serial printer?
>
>Thanks in advance!!

Try using fopen & associated low-level file routines. I think you'll have to ensure the com port is initialised using the DOS mode command before running Foxpro (or with run command from within FPD)
Mike

"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard Feynman
Previous
Reply
Map
View

Click here to load this message in the networking platform