Printing bills like it's 2017
Android app made for restaurants. Restaurant menu is read from a Prestashop database, and waiters can add items to a bill. Bill is sent to a WiFi printer.
- Install ESC/POS printer driver
- Install Order & Print app
- Configure WiFi printer with fixed IP address
- Enter the IP address in Order & Print settings menu
- When printing for the first time, select ESC/POS printer app and select 'always'
The app communicates with a REST API as a link with the database.
The code for this is in _devdata/api
.
Push this code to a server and update the link in the Android code.
You can find the table with EPSON commands on this page : <<<<<<< HEAD https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=23.
https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=23
637d4e30124ecf6846727e04ffafa29b36742590 You have to use the "n" decimal code corresponding to the size you want and prefixed with the table format. Ex "·27··33··32·" with n = 32 Don't forget to use those particular · points ·
<<<<<<< HEAD
You can find those instructions in _devdata/README.txt
=======
637d4e30124ecf6846727e04ffafa29b36742590
- REST API for security that reads information from Prestashop database
- Add/remove items to and from a bill
- Settings menu with bill headings and printer IP address
- Print bills over WiFi to ESC/POST printer
The code in this project is licensed under MIT license.