HTTP to IPP proxy, a.k.a. Rube Goldberg printing microservice
 
 
Go to file
radex 8a0cd8721a
Fix printing without specified content-type
2024-02-07 17:47:17 +01:00
patches Add some debug stuff etc 2024-01-31 21:46:16 +01:00
.gitignore Initial commit 2024-01-31 20:03:18 +01:00
Dockerfile Add some debug stuff etc 2024-01-31 21:46:16 +01:00
README.md remove unnecessary PRINTSERVANT_SECRET option 2024-02-02 12:19:05 +01:00
dev-config.json fix dev-config 2024-02-02 20:44:44 +01:00
index.js Fix printing without specified content-type 2024-02-07 17:47:17 +01:00
package-lock.json Add multi-printer support, change API 2024-02-01 15:38:03 +01:00
package.json Add multi-printer support, change API 2024-02-01 15:38:03 +01:00

README.md

Printservant

HTTP to IPP proxy, a.k.a. HSWAW Rube Goldberg printing microservice.

Usage

GET / to see available API routes

Quick start

Configuration available:

PRINTSERVANT_PORT - Port (default: 3199)
PRINTSERVANT_CONFIG - JSON config, like so:
  {
    printers: [
      {
        name: 'DYMO_LabelWriter450',
        aliases: ['dymo', 'label'],
        ipp_url: 'ipp://printmaster.waw.hackerspace.pl/printers/DYMO_LabelWriter450',
      },
      ...
    ]
  }
PRINTSERVANT_CONFIG=$(cat dev-config.json) node index.js

or:

docker build -t printservant .
docker run --env PRINTSERVANT_CONFIG=$(cat dev-config.json) -it -p 3199:3199 printservant