Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2009
    Posts
    3

    Unanswered: Cash Drawer Kick - VBA- Access 2000

    Hi

    My new POS Terminals have a "CD" port which I assume is a Comm Port. Trial and error will determine which Comm Port it is, as the Terminal has 6.

    I am looking for a method to code into VBA a signal to kick open the Cash Drawer.

    The Cash Drawer manual states the following:

    "Use DEBUG.EXE program under DOS or Windows 98

    Command
    O 4B8 01 - Cash Drawer Open
    O 4B8 00 - Cash Drawer Closed

    Set the I/O address 4B8h bit0=1 for opening Cash Drawer by "DOUT bit0" pin control"

    Also " Register Location: 4B8h
    Attribute: Read/Write
    Size: 8 Bit"

    All of which means very little to me.....

    Hope somebody can assist with this.

    Regards
    Brian
    Mutare
    Zimbabwe

  2. #2
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    This has almost nothing to do with Access tbh. You need to create an assembler-level .COM file that stuffs 01 into the register. Then you need to call that .COM file from Access.

    I could help with the latter, but I have not looked at assembler/debug.exe for a VERY long time.

    You would think that the cash terminal would come with some already made commands... Just how old is this till?? lol
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

  3. #3
    Join Date
    Mar 2009
    Posts
    5,442
    Provided Answers: 14
    StarTrekker is right: you're in for some serious programming. have a look at:
    Serial Port Communication in C#
    Interfacing the PC Serial Port RS232
    Programming Serial Ports Using Visual Basic 2005
    Serial Communications in Win32

    Have a nice day!

  4. #4
    Join Date
    Mar 2009
    Posts
    3
    The Pos terminal is brand new, running Windows XP pro SP3. Here is a link to it... www.pinnacle.co.za/pos/products/?product=3077

  5. #5
    Join Date
    Nov 2007
    Posts
    16
    Hi,

    does your pos terminal also have a printer? also does the cashdrawer have a rj11 socket behind it similar to a telephone wire? if so you can connect your casdrawer directly to the printer and from your software send a command to the printer to open up the cashdrawer.
    Here is a company that maybe of help to you...
    www.[URL="http://www.personasystems.com"]http://www.personasystems.com[/URL]personasystems.com i think the website is under construction at the moment. but they do also help with techniqal questions. hope it helps
    Regards

  6. #6
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    So why not ask your suppliers for some assistance? There really should be no reason in this day and age to need to drop to assembler code to get a till to work. Surely there has to be a more convenient way?!
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

Posting Permissions

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