WebPrint Solution
Solution for printing from Web Server to local printers.
Sample Use Cases
Bellow are provided few sample use cases:
- Printing take away/delivery orders from central server to a POS printer in restaurants,
- Printing labels on Zebra Label Printers from web browser of mobile phone,
- RAW printing to dot-matrix printers from web server,
- Printing sales reports every morning from cloud server on local printer.
Architecture
Standard deployment consists of:
- One Server Instance - Laravel Application installed on server available on the internet
- Minimum of one Service Instance - PHP Application running as a service on a local server which downloads print jobs from Server and pushes them to connected printers.
- Printers to print, which are connected to Service Instance
- Client applications - end user apps connecting to server using API. There is PHP Library and JavaScript Library for easy integration.
User flow and headless flow
WebPrint is prepared for a flow when everything is automated, for cases when prints are submited via cron jobs, but also there is a dialog mode permitting user to select on which printer, job will be printed and (in case of PPD mode, on CUPS server) printing options, like duplex mode, color/grayscale or paper size.
Tutorials
- Print on USB printer from your web application - sharing USB printer using Raspberry Pi and WebPrint (coming soon)
- Print ZPL labels directly from your server (coming soon)
Table of Contents