PHP POS Print (Local Server)
A php application for printing POS receipts, (*1)
Installation
To clone and run this repository you'll need
git,
php &
composer., (*2)
From your command line:, (*3)
# Clone this repository
git clone https://github.com/Tecdiary/ppp
# Go into the repository
cd ppp
# Install dependencies
composer install
# Start server from command line
php server.php
# Start app for settings
php -S localhost:8000 -t app/
Next time you can simply run php server.php in command line OR server.sh file to start the server., (*4)
This app runs at port 6441 ( ws://localhost:6441 ) and listen for the print jobs., (*5)
Get Windows Installer
Users having difficulty installing the ppp, can purchase standalone windows installer from link below, (*6)
PHP POS Print Server (Windows Installer) http://tecdiary.com/products/php-pos-print-server-windows-installer, (*7)
Get 10% discount with offer code ppp (for limited time only)., (*8)
It comes with logs feature. The server logs can be viewed or downloaded., (*9)
The license is not transfer-able, so please don't install it on test server., (*10)
Local printers
Server will try to use the local printers if no printer has been provided.
You can access local app from your local web server url or just run php -S localhost:8000 -t app/ and access the app in browser http://localhost:8000, (*11)
App Features
- Main index page index.php to update your default printers
- Printers page printers.php to list all your printers
- Add Printer page add_printer.php to add new printer, (*12)
The local settings will be saved in database/data.json file., (*13)
Screenshots, (*14)
Index page
, (*15)
Printers page
, (*16)
Add printer page
, (*17)