Close stage 1d of the job-store plan
Stage 1d is done: jobs survive a restart in the SQLite store, and a restart never prints a receipt twice. Its paper checks passed on the TM-T88IV, with the owner's OK for each: - A receipt printed once, read done, and still read done after restarts. - With the printer off, a receipt was sent and the daemon stopped gracefully while it retried; with the printer on again, the restart printed it once. - With the cover open, the daemon was killed while a 128 KB receipt waited for the printer; after the restart it read uncertain, was never sent again, and printed once, cut short, when the cover closed. The printer then needed switching off and on. - With confirmation, a receipt read done on the printer's answer, and one sent with the cover open waited, with nothing sent, and printed once when the cover closed. - With GS a 0 and DLE EOT 1, a receipt printed once with nothing extra and read done on the printer's answer; after a power cycle, with /healthz polled every 250 ms, one sent with the cover open waited 15.7 s with nothing sent and printed once when the cover closed. - With each connection opened by DLE EOT 1, GS a 0 and GS r 1, and everything before the DLE EOT answer dropped, a receipt printed once with nothing extra and read done on the printer's answer. The plan's status says so, and stage 1d records the confirmation the owner had built after the first try at the third check. The Investigation findings are folded into design.md, apart from Epson's acknowledgement and its sources, which phase 5 still needs and which stay under Findings for phase 5. The references to them point to design.md. The job states, which receipts printed, decision 16's count of uncertain jobs, decision 21 and phase 5's config key now match the confirmation, and the Architecture says the connector runs the pragmas in order and that Idle checkpoints once 64 commits have gathered. The RECORDS schema keeps refs in the order they were kept, by kept, as the store does, since job IDs need not sort in that order. docs/plans/printers.md notes that confirmation takes only a GS r 1 answer with bits 4 and 7 clear, which stage 4a checks on the TM-T88VII. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d3c3025e64
commit
bdda410deb
2 files changed
+31
-183
No files matched your search
@@ -354,7 +354,7 @@ WHERE THE REPORTS DISAGREE OR ARE UNSURE
|
||||
- A rule's runtime error in the log: with its message (Expr track), or never (config track), since the message quotes env values. Decision 15.
|
||||
- The name pattern: the module names' form (Expr track) or the subscriptions' (config track). Decision 2.
|
||||
- Whether an offline printer behind a UB-E02 or UB-E03 still accepts the connection and holds the bytes: an inference, unverified. Decision 23's paper check, before stage 3.
|
||||
- `GS r 1`'s fixed bits: Epson's page contradicts itself. Stage 4a's first step reads what the TM-T88VII sends.
|
||||
- `GS r 1`'s fixed bits: Epson's page contradicts itself. Stage 4a's first step reads what the TM-T88VII sends. Job confirmation (job-store stage 1d, `printer.confirm`) takes only an answer with bits 4 and 7 clear, as the TM-T88IV sends; a model that answers otherwise needs `printer.confirm = false` until that changes.
|
||||
- Whether automatic-status frames reach a port 9100 client: unverified (job-store.md says the same). Stage 4a's first step.
|
||||
- Whether the TM-T88VII's TM-T88V emulation brings near-end back to `DLE EOT 4`: unknown.
|
||||
- Which board the owner's TM-T88IV has, a UB-E02 or a UB-E03, and how its DIP switch 1-2 is set: unchecked.
|
||||
|
||||
Reference in new issue
Block a user