A friend of ours asked if we could program a “Point of Sales” or “POS” for their mini-grocery. It was a while since we programmed using those archaic RBMS’s that used the “.dbf” database formats. And it would have taken a long time to study Visual FoxBase or Visual FoxPro so we decided to create the whole “POS” using PHP/MySQL..
The database and stuff were relatively hard, but what really drained us was creating an interface for the receipt printer, bar-code scanner and the cash-drawer… Well as a tip to our readers, what we did was we looked for the function in php that could interface with Windows and execute DOS ESC Code Sequences.. Once we figured it out, it was smooth sailing.. Please look below for our PHP Cash Register.