Setup & installation
Config file
Section titled “Config file”TOML at /etc/presto/presto.toml (Linux) or C:\ProgramData\Presto\presto.toml
(Windows). Reference: config/presto.example.toml.
[server]— listen address, TLS mode (auto/manual/off).[security]— origin allow-list, pairing.[[printer]]— declarative printer definitions (alias, transport, dpmm, languages).
| Port | Purpose |
|---|---|
| 31075 | WebSocket / REST (bridge) |
| 31076 | Presto Console (optional self-hosted fleet server) |
| 9101 | Prometheus metrics |
At install time Presto provisions a per-machine local root CA (rcgen) and an
auto-rotating localhost leaf, so wss://127.0.0.1 works without browser warnings. A
ws:// fallback and an operator-cert escape hatch exist.
Clients
Section titled “Clients”@intrasys/presto-js— core client.presto-react— hooks.presto-classic.js— ES5 / callback / XHR-fallback, served by the daemon.