Skip to main content

HTTP API

All endpoints are served from the configured driver host.

Common Printer Target

Printer-targeting endpoints require ip_address and port.
vendor_id and product_id are accepted for client compatibility. The current network print path targets printers by ip_address and port.

POST /print

Queues a print job and returns immediately.
Successful response:
Validation errors:

POST /status

Returns cached or live printer status.
Response:
Status behavior:
  • If the queue has waiting, active, or delayed jobs, status returns cached state with busy: true.
  • If the queue is idle, the driver can probe the printer.
  • source: "probe" means a live socket check was performed.
  • source: "cache" means the response came from stored state and queue counts.

POST /beep

Queues the beep sequence for a printer.
Response:

POST /cash-drawer

Queues the ESC/POS cash drawer pulse command.
Response:

GET /health

Returns process health and build version.

GET /queue-status

Returns known printer queues.

GET /mesh-status

When mesh is enabled:
When mesh is disabled:

GET /ca.crt

Available when HTTPS is enabled. Downloads the CA certificate as plato-printer-ca.crt.

WS /mesh

PeerJS signaling endpoint mounted when features.meshEnabled is true.