|
 |
access thread: Opening Cash Drawer in VBA
Message #1 by georgebiko@h... on Fri, 22 Mar 2002 21:37:47
|
|
Hi,
Have any one worked with opening a cash drawer using VBA. I need a code in
VBA to open a "MMF Cashier Plus" cash drawer with RS232 interface using
com1 or com 2. This is the instructions the manufacturer give for opening
the drawer from DOS prompt
c:>MODE COM1:9600,N,8,1 (ENTER)
COM1:9600,N,8,1- (REPLY)
c:>ECHO>COM1 (ENTER)
The drawer opens after the last ENTER key is pressed.
I will appreciate any help. Thanks
Biko
Message #2 by "Paul McLaren" <paulmcl@t...> on Sat, 23 Mar 2002 02:48:06 -0000
|
|
George,
Try using the comm control MSCOMM32.OCX
There is quite a lot of documentation around for it - I had a test with
one placed on a form and a command button to activate it - I
surprisingly don't have a cash drawer connected to COM1 on my PC but it
fired up the modem no problem.
If you need some info let me know (or check MSDN)
Regards
Paul
-----Original Message-----
From: georgebiko@h... [mailto:georgebiko@h...]
Sent: 22 March 2002 21:38
To: Access
Subject: [access] Opening Cash Drawer in VBA
Hi,
Have any one worked with opening a cash drawer using VBA. I need a code
in
VBA to open a "MMF Cashier Plus" cash drawer with RS232 interface using
com1 or com 2. This is the instructions the manufacturer give for
opening
the drawer from DOS prompt
c:>MODE COM1:9600,N,8,1 (ENTER)
COM1:9600,N,8,1- (REPLY)
c:>ECHO>COM1 (ENTER)
The drawer opens after the last ENTER key is pressed.
I will appreciate any help. Thanks
Biko
|
|
 |