Java application to print bills based on the given order JSON data.
This application was used as the backend server for the khopra web application which serves as a KOT/Digital Menu app. This is an older build of the khopra server and is now replaced by a Spring boot server using groovy and GraphQL.
Opens a serversocket to recieve json data and print it using a connected printer.
JSON file must follow the schema strictly.
Technologies Used:
- Java Standard Edition 1.8 (Java 8)
- Quartz Scheduler
- Google API Client, API Services Drive, OAuth Client
- Log4j framework for file and console logging
- Socket API
System was tested and ran successfully on the following devices:
- Windows 10 with JDK8
- Ubuntu 18.04 with JDK10
- Raspian with JRE11
The printing tests were conducted on the following devices:
- Canon LBP611Cn
- TSC TE200 (80mm)
- HPRT MPT-II (58mm)
The latter version of the project was modified to fit the 58mm paper of MPT-II.
Zj-58 Drivers were used on the HRPT printer while working with the raspberry system.
Future Agendas:
- AES CBC Decryption
- Improvements in Bill formatting and spacing
- Logging to remote NoSQL Database