From: Phil D. <ph...@lo...> - 2010-02-15 09:19:10
|
Ah reading a little more about this ...to use this solution to open cash drawers and link to printers the php extension PHP-GTK needs to be used. From the PHP-GTK FAQ at http://gtk.php.net/faq.php Why is it not working with the browser/web server? PHP-GTK is not meant to be used in the Web environment. It is intended for creation of standalone applications (run via command-line, user's desktop, etc.). Interesting - maybe this is a way to leverage PHP knowledge to write a client side POS that works on any platform... could be opening up a whole new field!! Phil Moxx Consulting wrote: > Hi Phil - > > Barcode scanners could work with WebERP - all that is needed is to ensure > the cursor is on the field that receives input (just like a keyboard), and > configure the barcode scanner to end its input with a carriage return or a > tab. > > We have set up a few pages to accept orders and print sales receipts - > though they use Javascript, they are built on WebERP, so may be easier to > integrate. A few features: > > - Customer if not explicitly selected, defaults to a "anonymous customer" > - Faster data entry - scan barcode or autocomplete on product name > - Quantity defaulted to 1 > - on entry of sales order, invoices are automatically created with delivered > qty = ordered qty > - page to receive cash (cheques/Credit cards could be added if needed) - > total received and change to be provided back is displayed. > - on receipt of cash, create customer payment receipt, update stock. > > The sales receipt would be a PDF - it may be possible to use a > window.print() to print quickly or use background printing. Let me know if > you need the code - it may need some tweaking and then be ready to use with > WebERP. > > One solution to the cash drawer interface (I haven't tried this) can be > found here: http://bit.ly/6ITAON > > Regards, > Nagaraj > ______ > http://weberp.moxx.in > > > |