A simple nodejs server that receives a file sent with a POST request and then sends it to CUPS for printing. This can be run, for example, on a RaspberryPi, to which we have a printer connected and CUPS running.
- Node.js v10.0 or higher is required
- (optionally) Create file
.env
with your values
APP_PORT = 3000
CUPS_HOST = 127.0.0.1
CUPS_PORT = 3000
- Run
npm install
- Start server by
npm run start
See LICENSE.