I do, Larry... A cash drawer works exactly like a printer:
Basically, I set up a startup batch (connect.bat) to re-direct LPT3 output to COM1, or to any other port your drawer is connected to. (Epson POS-printers and drawers are serial, others may be parallel.) My connect.bat (in the Windows startup folder) includes: mode COM1:9600,n,8,1,P mode lpt3=com1 Second - once again for Epson POS - I would create a "print ticket" report that includes the proper escape code. You can even put the code in a conditional RV, that opens the drawer only if the ticket is OK and that blocks opening if something is wrong (ticket balance > 0, for example). Here is a list of different printer ESC codes: pages.prodigy.net/daleharris/popopen.htm I have a complete POS-application with many options, that is used in combination with a reprogramable and relegendable POS keyboard. Nearly all necessary DP-commands are accessible with just one keystroke (ex : [F10][F10][Alt][F7][Y][Enter], for "Save the record and print the default report"). Do not hesitate to contact me directly per mail if you want to take a look at it :) Regards, Geert De Baets On Thu, 18 Jun 2009 00:54:15 +0200, Larry Neuton <[email protected]> wrote: > Greetings, > I was asked about creating a Point of Sale application with DP. > There are similarities with my library automation application to work > from - single editable field panels to enter data via barcode scanner, > etc. > But I have no idea how to interface with a cash drawer . > Does anyone have experience using DP with a cash drawer or using DP to > create a POS application? > Best regards, > Larry Neuton _______________________________________________ Dataperf mailing list [email protected] http://lists.dataperfect.nl/mailman/listinfo/dataperf
