I need a help. I have developed a point of sale for my client. When a sale is complete a receipt is printed to a thermal printer and a cash drawer connected with the printer is opened. I wrote code in c# to open the cash drawer. It works fine.
Now my client want to check the status cash drawer open or close before a sale. If cash drawer is open sale can not be performed.
How can I check the status of cash drawer which is connected to thermal printer in c#? I will be very helpful to me if you provide any sample code to read the status of a cash drawer.
Bye With regards Sadequzzaman Monoj