Computing.Net > Forums > Disk Operating System > How to eject a cash drawer from dos

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to eject a cash drawer from dos

Reply to Message Icon

Name: AGOSTINHO TEIXEIRA
Date: January 16, 2005 at 20:14:41 Pacific
OS: DOS
CPU/Ram: 933 MHZ
Comment:

Hey,
I'm using a DBASE for dos to operate a cashregister and I need a way to send, like a pulse from the dos prompt to open a cash register drawer.
any help?
Thanks
Agostinho



Sponsored Link
Ads by Google

Response Number 1
Name: rogerashley
Date: January 17, 2005 at 02:21:11 Pacific
Reply:

There is DOS Cash Register software
available from:

http://pages.prodigy.net/daleharris/index.htm



0

Response Number 2
Name: wizard-fred
Date: January 17, 2005 at 07:36:37 Pacific
Reply:

In some POS applications the cash drawer signal is embedded in the output to the receipt printer. In your case you may have to write output to either the serial or parallel port. On some models there is available a module to decode the output and trigger the solenoid. Or you may make your own.


0

Response Number 3
Name: AGOSTINHO TEIXEIRA
Date: January 20, 2005 at 19:02:31 Pacific
Reply:

Hy fred,
That's what I need, a sample module decoder for me to have an idea, do have any, or do you know any website that I can link to.
Thanks



0

Response Number 4
Name: wizard-fred
Date: January 21, 2005 at 01:11:42 Pacific
Reply:

The easiest method is to use a receipt printer with the port built in or a cash drawer with the module built in. The codes are usually embedded in the receipt printer data. Unless you have a lot of spare ports, your are going to have to embed the codes in your normal printout and connect your decoded in parallel with your present printer. The cash register release uses either 12 or 24 volts. There will be quite an inductive voltage surge when triggered. I don't have a specific site for the module. You can find examples for serial and parallel interface circuitry at lvr.com and the links there. I would recommend buying a drawer or printer already equipped unless you have experience in circuit construction.

There is a free POS package that has support for the cash drawer. Search GOOGLE


0

Response Number 5
Name: Dale Harris
Date: January 29, 2005 at 21:44:17 Pacific
Reply:

There are two main types of cash drawers. One type connects to the serial port of your computer. The other type connects to a receipt printer using an RJ-11 phone jack type of connector.

If your cash drawer connects to the serial port then simply sending any character to the port will cause the cach drawer to open. This sound simple but from DOS it will not work most of the time particularly if your computer is running a version of Windows after Win '98.

If you have a receipt printer, by which I mean a specialized printer for printing receipts that prints on a long roll or paper and not just any printer that you are using to print receipts, then it will have an RJ-11 phone type jach into which you can plug in a cable from your cash drawer. By sending a control code to the printer you will cause it to to send a signal to the cash drawer that will then open.

This page lists control codes for many receipt printers. http://pages.prodigy.net/daleharris/popopen.htm

These codes are actually ASCII codes that must be combined into a string and then sent to the printer. Here is some QB code that will give you the basic idea.

Assuming that the code you want to send is 27, 120, 15, 62

A$=CHR$(27)+CHR$(120)+CHR$(15)+CHR$(62)
LPRINT A$

Dale


0

Related Posts

See More



Response Number 6
Name: morloc
Date: February 23, 2005 at 08:36:32 Pacific
Reply:

If your looking for cash drawers or reciept printers to link to cash drawers then please feel free to check out our site www.ded.co.uk.

Most of our cash drawers can be triggered to open via added a command at the end of the print job ie it prints your receipt and then issues the command and the drawer opens.

Hope this is of some use


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: How to eject a cash drawer from dos

How to create a MS-Dos boot partition? www.computing.net/answers/dos/how-to-create-a-msdos-boot-partition/3849.html

is there a dos command to eject a cd? www.computing.net/answers/dos/is-there-a-dos-command-to-eject-a-cd/2678.html

ending a process from dos? www.computing.net/answers/dos/ending-a-process-from-dos/12767.html