Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Determine If Cash Drawer Is Open
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00586805
Message ID:
00589042
Vues:
33
>I have this project regarding a POS system and like all POS systems, it uses
>a cash drawer. I know already how to programmatically open the cash drawer,
>but my dilemna now is how do i determine if it has already been closed. I was
>able to open the drawer by opening a communication port (COM1) using FOPEN
>and "wrote" some character data to open it using FWRITE. Question is, how do
>i know if the cash drawer was closed already? When the cash drawer closes,
>does it "write" back something? If so, what?

The OLE for POS controls support the OpenDrawer() and WaitForDrawerClose() methods along with the DrawerOpened property. It might be easier for you to use these, if your drawer manufacturer supports the OPOS standard.

http://pos.epson.com/pointofsale/opos.shtml
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform