Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending characters to COM? port
Message
 
 
À
02/06/2002 14:35:17
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00663891
Message ID:
00663896
Vues:
16
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform