🍰

Bakery Print Server

Connected printers

PrinterStatusOnline forJobs

Free-hand print

All text prints bold by default. Formatting: <xb>extra bold</xb>, <u>underline</u>, <big>double size</big>, <center>centered</center>

API

Send a print job from any system:

# curl
curl -X POST /api/print \
  -H "X-API-Key: YOUR_PASSWORD" \
  -H "Content-Type: application/json" \
  -d '{
    "printer_name": "kitchen",
    "text": "Order #12\n2x Banica\n1x Boza\n",
    "cut": true
  }'

Response: {"ok": true, "job_id": "..."} once the printer confirms. If printing fails, the job is queued and retried automatically (202 {"ok": false, "queued": true}). The text may contain formatting tags (text is bold by default): <xb> <u> <big> <center>. Also available: GET /api/printers, GET /api/jobs, POST /api/test/<printer_name>.

API tester

Paste the JSON body your system would send to POST /api/print and check how the server parses it. Nothing is printed.