kuyucuk / Order-Print

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo of the project Order & Print

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.

Installing / Running the app

  • 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'

Developing

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.

How to change the font size of the print characters ?

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

How to setup the printer on a wifi network ?

You can find those instructions in _devdata/README.txt

=======

637d4e30124ecf6846727e04ffafa29b36742590

Features

  • 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

Configuration

Licensing

The code in this project is licensed under MIT license.

About

License:MIT License


Languages

Language:Java 91.4%Language:PHP 8.6%