Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How To Determine If Cash Drawer Is Open
Hi All!
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?
Thanks in advance.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement