Printing: expose native commands through control discovery

This commit is contained in:
skylar taylor-barrick
2026-10-12 16:50:03 +02:00
parent 587d879f13
commit 9fc4108899
2 changed files with 38 additions and 0 deletions
+3
View File
@@ -68,6 +68,9 @@ see [`mcp.md`](mcp.md) and [`cli.md`](cli.md).
### Native printing
Desktop `engine.commands {"search":"print"}` (and connected MCP `list_commands`)
lists `ui.printSettings` and `ui.printSubmit` with their parameter and result fields.
`engine.execute` can call `ui.printSettings` with `{}` to inspect the printer list, selected
printer, copies, duplex, grayscale, discovery/submission status and backend receipt/error.
`{"refresh":true}` starts background discovery; poll the same command until `discovering` is