Fireing Cash Drawer

richard_gar
richard_gar used Ask the Experts™
on
I need to from vb.net fire a cash drawer from a RJ11 port. I have spoken with the till manufacture who reports this:

You need to put 01h or 02h into io port address 206h to open either drawer 1 or 2, then you wait 100ms and put 00h into the io port to stop it firing.

How can I get vb.net to talk to the IO Port on address 206h and then send down 01h?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
How are you interfacing with the cash drawer, do I take your using serial, and possibly a usb to serial converter, the cash drawer has the rj11 socket to which you connect the cable.

If this is the case you need to open the serial port and send the escape characters to it.  Its usually chr(27)+escape sequence.  Same sort of thing for display pods etc.  If this is an epos environment, the cash drawer is normally chained off the receipt printer.

Phil

Author

Commented:
no the RJ11 port is a physical port on the motherboard.
Ok, do you have the make and model of the host
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

Author

Commented:
I spoke to a software house that does ePOS software that we use for our customers and they were helpful to tell me this:

You need to put 01h or 02h into io port address 206h to open either drawer 1 or 2, then you wait 100ms and put 00h into the io port to stop it firing.

It makes use of the address and data bus directly off the cpu itself.

Author

Commented:
Does anyone have any clue if there is a ported version of the ZLPORTIO.DLL that is used for Delphi programmers to do what I am trying to achive?

Commented:
richard_gar, I'd recommend asking a new question re: that DLL because the only people who will see this are people who are already monitoring this Q or those who stumble upon it (not many as it's over 60 hours old).
Going to ask a new question as per advice from TEDInAK

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial