Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Guys!can anyone tell me how to open cash drawer on button click in C#

What I have tried:

How to open Cash Drawer on button click in C#
Posted
Updated 26-Jul-16 18:18pm
Comments
PIEBALDconsult 26-Jul-16 21:38pm    
That depends on the drawer. Ones I've used had a serial interface and I had to send a code out the COM port. I have no idea what's in use now.

1 solution

General principle:
The cash drawer is connected to computer via a port like COM1, and the computer send a signal trough a physical line of the port.
The signal to send depend on the port to which it is connected and which port signal it use.
Without this knowledge, it is impossible to show any code.

When you know the details, Google for code for the port communication and this signal handling.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900