TCPDF is full of power but have terrible parameter and poor documentation.
In case your printer need to print PDF in reverse position.
This article may save you some time reading the source code:
Web App is the big trend since SaaS grow these years.
But local hardware access for browsers is always major headache compared to traditional apps.
Especially direct print, a essential function for any traditional app is always missing piece of Web App.
COM port access is another missing feature, you need it to open drawer from POS, get readings from a digital scale… etc
I have researched and found four major possible directions
- Tweak browser to support it
- Enhance existing browser to support it
- Build a browser that support it
- Use/Create external service that handle it
For servers already running PHP5 using FPM
To upgrade to PHP7 FPM using Ondřej Surý’s PPA