Chezak isn't printing
Run the doctor check on the helper's phone or computer, then fix each line it marks FAIL or WARN.
First look at the printer on Chezak's Printers page: when it can tell, it says what is wrong (printer off, helper offline, update needed). For everything else, run the doctor check on the phone or computer next to the printer.
Run doctor
Open Termux (phone), PowerShell (Windows) or Terminal (Mac, Linux), paste the line for your device and press Enter:
- Android phone (Termux)
chezak doctor- Windows (PowerShell)
cd ~\chezak; node bridge.mjs doctor- Mac (Terminal)
cd ~/chezak && node bridge.mjs doctor- Linux (Terminal)
cd ~/chezak && node bridge.mjs doctor
Each part starts with OK, WARN or FAIL. Fix the FAIL parts first, from the top. Below is what each part means.
Bridge
The helper's version and the device it runs on. There is nothing to fix here; support reads it.
Updates
WARN means a newer signed helper is out. Printing still works; update the helper when you can.
Config
- FAIL: the saved setup can't be read, or other users on the device can read it. The line says how to fix it (for example a
chmod 600command). - No setup at all: run setup again with a new setup code from the Printers page.
- WARN “not encrypted (ipp://)”: the link to the printer isn't secure. It still prints; keep customers on a guest Wi-Fi.
Printer
- FAIL “not reachable”: the printer didn't answer on the Wi-Fi. Check it is switched on, then press a button on it to wake it.
- Make sure the printer and the helper are on the same Wi-Fi, then run doctor again. The report names the exact commands for your device.
- Still failing? The printer's address probably changed. Run set-printer: it finds the printer on the Wi-Fi again and keeps your setup (no new setup code).
- Android phone (Termux)
chezak set-printer- Windows (PowerShell)
cd ~\chezak; node bridge.mjs set-printer- Mac (Terminal)
cd ~/chezak && node bridge.mjs set-printer- Linux (Terminal)
cd ~/chezak && node bridge.mjs set-printer
- FAIL “the printer's certificate CHANGED”: see Helper messages → The printer's security certificate changed.
- WARN “problems now”: out of paper, a paper jam or empty ink. Fix it on the printer; Chezak sees it on the next check.
- To stop the address changing, give the printer a fixed IP address in your Wi-Fi router (“address reservation” or “DHCP reservation”).
Chezak
- FAIL “Chezak refused this device”: this device's link was replaced or removed, or its clock is wrong. The next line says which, and what to do.
- FAIL “Can't reach”: the device has no internet. Check its Wi-Fi or mobile data.
- HTTP 429: Chezak is limiting requests from this network for a moment. Wait a minute and run doctor again.
Clock
How far the device's clock is from Chezak's. WARN past 2 minutes; FAIL past 5, and then Chezak refuses the device. Turn on automatic date and time on the device.
Running bridge
- WARN “no status file”: the helper hasn't run on this device yet. Start it.
- WARN with an old “last check-in”: the helper stopped. Start it again (below). On a phone, also set Termux and Termux:Boot to battery Unrestricted.
- “Results waiting to reach Chezak”: they are sent again by themselves once the device is online.
chezak start
On a computer, double-click Start Chezak in the chezak folder in your home folder. The line above is for the phone (Termux).
Still not printing? Send the report to Chezak support.
Still stuck? Send Chezak support your doctor report.