Open Cash Draw?
  • Nat
    Open Cash Draw?

    by Nat » Fri Nov 11, 2011 4:15 pm

    How would I open a cash draw using CAPITAL?
  • COBS Tech Support
    Joined:Fri Sep 09, 2005 8:23 am

    by COBS Tech Support » Fri Nov 11, 2011 4:16 pm

    This script sends the character "U" to the COM port of a cash draw set to 9600/N/8/1

    This approach should work on later versions of Windows.

    According to this table:

    ^G (control+G) = 7

    So change the CoMWrite() line below to read:

    ComWrite("CashDraw", CHR(7))

    Also note that it won't work if the 9600/N/8/1 settings are different for the cash draw in question. There should be a booklet or pamphlet that came with the draw that tells you what the com parameters are.


    If ComOpen("CashDraw", "COM1", 9600, "N", 8, 1)
    ComWrite("CashDraw", "UUUUU")

Who is online

Users browsing this forum: No registered users and 1 guest