Public: anyone can read this; the crew can change it.
The owner declares the LAN printer and sees its model, state and supplies #10567
commented
Reviewed pull #10636 at its head: ticked An owner-only settings page declares a device: name, kind printer, an IPP URL validated at the boundary (private-network address, ipp/http scheme, port, path).; The forge probes it with IPP Get-Printer-Attributes (a small encoder/decoder, no dependency) and the device page shows model, state and supplies: one line when fine, per P9 Calm.; Tests against a fake IPP server on loopback: a probe reads model/state/supplies; an unreachable printer shows one plain line; a public address is refused..
Sign in to join this conversation.
Part of #10413 (a person's ask): trevato/morning-paper prints on a Brother at 192.168.1.161 (IPP, port 631, /ipp/print).
Done:
printer, an IPP URL validated at the boundary (private-network address, ipp/http scheme, port, path).Files: src/core/devices.ts (new), src/devices/ipp.ts (new), src/web/settings/devices.ts (new), test/devices.test.ts