473,383 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Open Cash Drawer on No Sale Button click

How i will open cash drawer on No Sale button click by Star TSP 100 Printer by sending Hex code command to Printer
May 28 '20 #1
1 3786
SwissProgrammer
220 128KB
Without judging why you are using a command to a printer to open a cash drawer, which is none of my business; I might approach it this way:

A command to the printer activates something. Probably a switch (or a relay); on/off, etc. Use the switch or relay to re-route electric to the cash drawer. You might need a second relay. You might need a transformer. If you need to isolate them then you might look into using an isolation transformer.

If this is too much for you, then get an electrical (component) engineer or an EE student that is at 3rd year or higher to help.

In case some self-righteous reader gets upset by my answering this, that is none of "your" business. The guy might want the cash drawer to open when a receipt is printed out for an honest transaction. Of he might want to break into a system that he does not own. Either way it is not my business and not someone else's business. This is a learning site. Someone should have answered him already with how to do it. Shame on you other guys (1,190 views) for reading and leaving him.

Sorry. That was maybe too harsh. Maybe you other readers do not know how do electrical component stuff. Circuit designing was beyond me at some point in my life. I did not consider that when I wrote my response. I apologize.

I am among giants in programming, and I am like a child. I will try to think more before answering again.
Jun 5 '20 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: PW | last post by:
I have an electronic cash drawer as part of a point-of-sale installation. You're supposed to be able to automatically open the cash drawer with some printer commands (drawer is connected to the...
1
by: Jerry | last post by:
Hi, If I have a button control on a webform and double click to show the click event code, what code would go inside to open or redirect to an htm page? example Private sub mybutt_click(...
6
by: shil | last post by:
I have a server side button that needs to do some preperation and afterwards, if everything goes well, open a new browser with a specific url. I know how to execute javascript from a server side...
2
by: Tor Inge Schulstad | last post by:
Hi I'm developing a POS software using an Epson TM-T88iii printer with a cash drawer connected to the printer. The printer is connected via a usb interface to the pc. Can anyone tell me how I...
2
by: ielement | last post by:
I'm new to programing in Visual Basic, but what im wondering is, how can i open a file and create a file by clicking a button? Like when i click button 1 it creates a file (to desktop) and when i...
1
by: imlambo | last post by:
I am designing a point of sale and i am stuck on how to open a cash drawer. Since my system is going to be used by many clients i need help on a design which can open all cash drawers. Or just for...
3
by: gggram2000 | last post by:
Hi, I need some assistance. I'ved been searching the web for days now and can't find an example that really helps me. I have an EPSON TM-T88IV printer through which I want to open a cash drawer. I...
4
by: piscut3 | last post by:
I'm developing a POS with cash drawer integration.But I can't open cash drawer. I have RS232 cable used to connect cash drawer to PC , dot matrix and cash drawer. This cash drawer has no DLL...
6
by: matatov | last post by:
I am running a pos system out of excel and just bought a cash drawer that connects to my usb epson tm88iv receipt printer. I know that the code I need to send to the drawer is 27 112 48 55 121 but I...
4
by: vinicius | last post by:
How do I make this open the link in a new tab on button click? <button type="button" name="" value="" ONCLICK="window.location.href='URL'">submit</button>
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.