Thanks for the response. The cash drawer has not yet been selected/purchased. Is the programing approach different for the various manufacuturers? are there preferred ones for working with Access?
Thanks, Jerry
I have done something similar, which is to create a batch file on the pc which will open the drawer containing the following 2 lines
mode com1:9600,n,8,1
echo PleaseOpenMe > com1
The first line set up the com port so the till can communicate with the PC, the second line sends any sequence of charcters to the port which normally pings the drawer. The draw may have slightly different baud rates etc.
Within the Access database, when the till receipt is then printed i call a macro from the on-close event of the report which calls the batch file. A bit long winded I agree but it works !! (for me anyway)
Thanks! - how do you call the batch file from a macro? (or vba) I did not see anything on batch files in the on-board access or vba help documentation.
Thanks a lot - I will try this as soon as I get my hands on the cash drawer. By the way, are there references you would suggest for boning up on the general area of interfacing with external devices such as cash drawers, card readers etc?
Sorry for the slow replies but don't ave much chance to view the forums at the moment.
Not sure about where to check for thisngs like that, this was just something I had to do myself, the details on baud rates etc were actually with the till drawer I was working with.
If you need any help with the barcode and magstripe card readers then I have dealt with those with Access but the commands used vary a little.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.