Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanner/Scale on COM1 Recognition
Message
 
 
À
10/08/1999 12:33:33
Karim De Alba
Universidad Autonoma Agraria Antonio N.
Saltillo, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00252044
Message ID:
00252096
Vues:
11
>How do I read from a bar code scanner as if it were from a keyboard? Is there a way to do it in a "transparent" way for the VFP application? How do I send a character to COM1 so a scale can send me data?

Barcode scanners usually interface with the keyboard port. The scanner comes with a splitter or a decoder box. So you have a cable coming from the keypord port to the splitter or the decoder box. The keyboard cable is connected to the splitter or the box. As long as the cursor is in a control [e.g., texbox] any barcode scanned will be entered into the control just as if typed. However, an explicit line feed is included at the end of the scan.

As for controlling a scale, you would probably need to use the MS Communications ActiveX control. If the scale conforms to POS standards, you should be able to get an ActiveX control from the manufacturer of the the scale.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform