plotters/hp7585b: bring up the HP 7585B over RS-232
End-to-end pipeline for driving the 7585B drafting plotter alongside the
existing AxiDraw helpers.
What landed:
- Hardware-flow serial sender (CTS/DSR/DTR + Xon/Xoff watchdog, 256-byte
framing on `;` boundaries, configurable per-byte delay).
- Live-limits probe — `OE; OH; OP; OF; OS;` to pull error register, hard
clip, P1/P2, plotter-unit factor, and status off the machine; the same
script can emit a vpype paper profile from the live sheet.
- Native HP-GL composer (`notepat-slide.py`) with EA / RA / CI / EW / EP
/ FP / PM / SL / FT / LT / SI / DI / DT / LB primitives, plus an
SVG-path → polyline flattener (used to render the PALS mark from
bills/invoices/pals.svg as a faceted outline). Every primitive emits
HP-GL and an SVG preview side-by-side so the layout can be eyeballed
on the desktop before plotting.
- vpype TOML profile for `hp7585b` (10 paper sizes, ANSI A–E + ISO
A4–A0, derived from the Aug 1985 spec).
- Fish helpers (`hp7585bplot`, `hp7585bsend`, `hp7585bhome`, etc.)
parallel to the existing `axi*` helpers; top-level README rewritten
for the multi-plotter layout.
- Reference HPGL files captured along the way: a confidence test, a
full-width "aesthetic.computer" wordmark, and the in-progress notepat
keymap slide.
docs/:
- HP 7580/7585B/7586B Interfacing & Programming Manual
(07580-90034, Nov 1985, 406pp) — the authoritative HP-GL reference
- HP 7585B Service Manual (07585-90002, Aug 1983) from bitsavers
- A period sample HPGL test file for cross-checking command syntax
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This is a binary file and will not be displayed.
This is a binary file and will not be displayed.