Ever wanted to upload a PDF from your web app and just print it? Here’s the solution 😉
- Clone the repo
- Edit the
.envfile. (See below for details)
yarn run build
How to edit the .env file
PRINTER_NAME=<THE_NAME_OF_YOUR_PRINTER> (or delete the key completely to use your 'default' printer) PORT=<PORT> (Default is 3000, change it as you wish)
I’ve only tested it on a Linux system (Ubuntu), and most probably it won’t work on Windows. Also, it won’t run (at least out of the box) on Docker.