Cash drawer software

Cash drawers are very common in retail outlets and are one of the main components of a point of sale facility (POS). There is some sort of coding for this component to be inserted into our development framework. Our cash drawer program has a source code that tests the state of the computer, i.e. the system attached or not connected, the machine opens/closed, the serial number of the machine, the date of operation, the overhaul of the machine, the date of development, etc. You should open the cash drawer using this source code and print the bill without any problems.

How it works:

0- The return value is zero if the cash drawer is closed.

1- If you have opened the cash box, the refund value is one.

2- Also the printer error is not OPEN.

3- Spooler operation error.

5- Re-opened error.

Else- Otherwise, the return value is zero if the operation succeeds.

Different Functions of this machine:

ppstOPEN – OPEN the printer driver port with the name of the printer allocated. Before achieving cash drawer status, this role must be performed.

ppstNAME – The name of the printer on the printer engine.

ppstCLOSE CLOSE the printer driver port with the name of the open printer. This role has to be performed before the program expires.

ppstGET – Retrieve the OPENED or CLOSED state of the cash drawer related to the name of the open printer.

Operating system:

This utility supports Windows 9x/NT/2000/XP/VISTA/Windows 7/Windows 8.

Programming language:

C Application, C++ Program, Visual Basic, VB.NET, and JAVA provide the source code for this project.

Note: We purchased a machine with a Posiflex cash register drawer. With 2 PC keys, cash drawer bottom plate, 4-pcs bill pocket separator, 6-pcs coin compartment, USB port, and power adapter, this cash drawer comes with 2. The user must load a driver called “USBCR.DLL” to monitor the Posiflex USB Cash Drawing.





🔥1.2 K


A collection of source codes that I wrote in VB 6.0, ASP.NET, PHP, C#.NET, VB.NET and JAVA in a course of my career as web developer and software engineer that I would like to share to my fellow programmers. Some of the codes here is not my original work that I found over the Internet and Books while I'm learning how to program. I hope you find my work useful in your learning in programming. Please share my work to other people also who interested to learn the basics of web development and programming. Thank you very much and Happy Productive Programming Everyone. for more info please WhatsApp us on +91-9481545735 or Email id:

1 Comment

  • Atul Upadhyay

    March 16, 2015 - 2:46 PM

    cn any 1 create a project on any topic in .net

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.