Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending characters to COM? port
Message
 
 
To
02/06/2002 14:35:17
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00663891
Message ID:
00663896
Views:
17
You can use Mscomm control for serial communications. See
- file #9336 Basic Serial Communication with MSCOMM
- file #9636 Good practice in using MSCOMM.OCX in VFP
- faq #7807 Serial communications with a COM port using MSCOMM
- faq #7943 How do I determine the Comm ports available to MSCOMM

>I have written a program in VFP7 & trying to open a cash drawer attached to COM1 port. In DOS I use the following commands:
>
>SET PRINTER TO COM1
>SET PRINTER ON
>?? CHR(07) *-- Bell character
>SET PRINTER TO
>SET PRINT OFF
>
>It worked in DOS Foxprox 2.5. But the same code does not work in VFP7.
>
>If somebody has any suggestion, please let me know.
>
>Thank You
>
>
>Raz
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform