From: David L. <da...@ra...> - 2010-02-15 09:48:16
|
From memory when I used to play with such things - The cash drawer was connected to the receipt printer and you just printed a special escape sequence and the drawer popped open. HTH, David Phil Daintree wrote: > 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 >> >> >> > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.733 / Virus Database: 271.1.1/2688 - Release Date: 02/15/10 06:35:00 > -- Regards, David Lamotte Managing Consultant Rams-Pro Technology Pty Ltd ABN: 43 126 822 026 Phone: (02) 4021 1079 Fax: (02) 8569 0320 Mobile: 0422 978 643 Int'l: +61 240 211 079 +61 422 978 643 Web: http://rams-pro.com.au Disclaimer: This email and any attached files are intended solely for the named addressee, are confidential and may contain legally privileged information. The copying or distribution of them or any information they contain, by anyone other than the addressee, is prohibited. If you have received this email in error, please advise the sender by telephone or return the email before destroying all copies. Thank you. |