troubleshooting Question

How to create an .exe or .bat file (or similar) to open a cash drawer over a serial port?

Avatar of Aenon Netgear
Aenon NetgearFlag for Gibraltar asked on
* CodingProgramming* POS* Cashdrawer
11 Comments1 Solution6 ViewsLast Modified:
I need to be able to open a cash drawer without using a printer. The cash drawer connects to a Point of Sale device via an RJ11 cable/connector.

I'm not sure the best way to create the file to send the code to send the open and close command.

Can anyone help?


The POS manufacturer's sample commands are:

Cash Drawer Controller Register
The Cash Drawer Controller use one I/O addresses to control the Cash Drawer.
Register Location: 48Ch
Attribute: Read / Write
Size: 8bit

Cash Drawer Control Command Example
Use Debug.EXE program under DOS or Windows98

Command    Cash Drawer
O 48C 04     Opening
O 48C 00     Allow to close
 Set the I/O address 48Ch bit2 =1 for opening Cash Drawer by “DOUT
bit0” pin control.
 Set the I/O address 48Ch bit2 = 0 for allow close Cash Drawer.

The full PDF is here -
https://aures-support.com/DATA/Doc/POS/SANGO_User_Manual_V1.0(EN).pdf  
(Page 18)
ASKER CERTIFIED SOLUTION
Aenon Netgear

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros