CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 1999
    Posts
    13

    point of sales programming

    does anyone have the experience of writing programs for a point of sales system ???? Do you have any helpful info on how to communicate with the cash drawer, receipt printer from a PC(MS window) ?? Please help...


  2. #2
    Join Date
    Dec 2000
    Location
    Canada
    Posts
    59

    Re: point of sales programming

    This all depends on the hardware that you are using. I designed a POS system that need a scan pen to enter the products. I didn't know what to do. I found a pen that piggy backs the keyboard and the problem was solved. I used a cash draw that I needed to just send the port a keypress and it would pop open. This all depends on the hardware. Find something you want to work with and get some documentation. That is all you can do.

    Sorry if this didn't help.
    Raistlin


  3. #3
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: point of sales programming

    As stated already, the code to open the cash drawer highly depends on what type of drawer it is. Some just want a carriage return and others want some other silly character. Usually, though, this information can be found out by visiting the manufacture's website and/or contacting technical support for the device.

    good luck,

    john

    John Pirkey
    MCSD
    http://www.ShallowWaterSystems.com
    http://www.stlvbug.org
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

  4. #4
    Join Date
    Jul 2001
    Posts
    3

    Re: point of sales programming

    As the others have said, the cash drawer usually connects to the serial port, all you have to do in most cases is open the port using certain parameters and send in the character that pops it open.


  5. #5
    Join Date
    Sep 2000
    Posts
    58

    Re: point of sales programming

    I have found that the following method works well.
    You may have to adapt it. This method is for a cash draw that uses a code for opening and is connected via a com port.

    Create a batch file containing the following

    "copy d:\back\setup\code.txt com2:"

    Then create a text file called code.txt which just contains the code for opening the draw. In my case it was "O7H".

    Then run the batch file. The cash draw should open. If you want, you can hardcode this process into your app.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured