morraine wrote:
Hello is it possible to access computer devices with php-gtk? i want to create a simple ePOS system to process orders on a Linux or Windows based computer till system. it will be a standard computer with a cash draw, a barcode reader, a Receipt Printer and a credit card machine.
Hi,
I've written some sample codes that show you how to interface to some of the devices you've mentioned above:
How to interface to receipt printer in a point of sale system?
http://www.kksou.com/php-gtk2/articles/interface-to-receipt-printer-in-a-point-of-sale-system.phpHow to kick open the cash drawer of a point of sale system?
http://www.kksou.com/php-gtk2/articles/kick-open-the-cash-drawer-of-a-point-of-sale-system.phpHow to print barcode label - Part 1 - EAN13 barcodes
http://www.kksou.com/php-gtk2/articles/print-barcode-label---Part-1---EAN13-barcodes.phpI've also written a Quick Reference for ESC/POS Commands
http://www.kksou.com/php-gtk2/References/Barcode-printing-on-receipt-printer-using-the-ESC/POS-Commands.phpRegards,
/kksou